Spaces:
Sleeping
Sleeping
Commit
Β·
8fec5fc
1
Parent(s):
c7c1267
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ if num in [str(x) for x in list(range(10))]:
|
|
49 |
if len(sfen[x]) > 30:
|
50 |
te_sf.append(sfen[x])
|
51 |
else:
|
52 |
-
te.append(sfen[x])
|
53 |
temp = sfen[x].split()
|
54 |
num = temp[1][0] + temp[1][1]
|
55 |
for y in range(len(KIFU_FROM_SQUARE_NAMES)):
|
@@ -58,6 +58,7 @@ if num in [str(x) for x in list(range(10))]:
|
|
58 |
word = sq+temp[1][2:]
|
59 |
word = word.replace("η«","ιΎ").replace("ζι","ε
¨").replace("ζζ‘","ε").replace("ζι¦","ζ")
|
60 |
if sfen[x].split()[1] not in ["ζδΊ" , "εζ₯ζ" , "ζε°ζ£" , "εεεγ‘"]:
|
|
|
61 |
movelist.append(word)
|
62 |
else:
|
63 |
movelist.append(sfen[x].split()[1])
|
|
|
49 |
if len(sfen[x]) > 30:
|
50 |
te_sf.append(sfen[x])
|
51 |
else:
|
52 |
+
#te.append(sfen[x])
|
53 |
temp = sfen[x].split()
|
54 |
num = temp[1][0] + temp[1][1]
|
55 |
for y in range(len(KIFU_FROM_SQUARE_NAMES)):
|
|
|
58 |
word = sq+temp[1][2:]
|
59 |
word = word.replace("η«","ιΎ").replace("ζι","ε
¨").replace("ζζ‘","ε").replace("ζι¦","ζ")
|
60 |
if sfen[x].split()[1] not in ["ζδΊ" , "εζ₯ζ" , "ζε°ζ£" , "εεεγ‘"]:
|
61 |
+
te.append(temp[0]+" "+word)
|
62 |
movelist.append(word)
|
63 |
else:
|
64 |
movelist.append(sfen[x].split()[1])
|