pizzagatakasugi commited on
Commit
e55e238
·
1 Parent(s): 1bb26c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -81,7 +81,15 @@ if num in [str(x) for x in list(range(10))]:
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
 
 
81
  kif = kif.split("(")[0]
82
  kifs += kif
83
 
84
+ best = ""
85
+ for x in bestlist[idx]:
86
+ best += x.split("(")[0]
87
+
88
+ best2 = ""
89
+ for y in best2list[idx]:
90
+ best2 += y.split("(")[0]
91
+
92
+ input = sfen[0]+sfen[1]+kifs+"最善手の予測手順は"+best+"次善手の予測手順は"+best2
93
 
94
  st.write(idx,"入力",input)
95