Spaces:
Sleeping
Sleeping
Commit
·
1bb26c5
1
Parent(s):
43acd7d
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,8 @@ if num in [str(x) for x in list(range(10))]:
|
|
40 |
df = df.iloc[int(num)]
|
41 |
st.write(df["game_type"],df["precedence_name"],df["follower_name"])
|
42 |
sfen = df["sfen"].split("\n")
|
|
|
|
|
43 |
te = []
|
44 |
te_sf = []
|
45 |
movelist = []
|
@@ -79,7 +81,7 @@ if num in [str(x) for x in list(range(10))]:
|
|
79 |
kif = kif.split("(")[0]
|
80 |
kifs += kif
|
81 |
|
82 |
-
input = sfen[0]+sfen[1]+kifs+"最善手の予測手順は"+
|
83 |
|
84 |
st.write(idx,"入力",input)
|
85 |
|
|
|
40 |
df = df.iloc[int(num)]
|
41 |
st.write(df["game_type"],df["precedence_name"],df["follower_name"])
|
42 |
sfen = df["sfen"].split("\n")
|
43 |
+
bestlist = eval(df["bestlist"])
|
44 |
+
best2list = eval(df["best2list"])
|
45 |
te = []
|
46 |
te_sf = []
|
47 |
movelist = []
|
|
|
81 |
kif = kif.split("(")[0]
|
82 |
kifs += kif
|
83 |
|
84 |
+
input = sfen[0]+sfen[1]+kifs+"最善手の予測手順は"+bestlist[idx]+"次善手の予測手順は"+best2list[idx]
|
85 |
|
86 |
st.write(idx,"入力",input)
|
87 |
|