Spaces:
Sleeping
Sleeping
Update game1.py
Browse files
game1.py
CHANGED
@@ -288,7 +288,7 @@ def interpre1(lang_selected, num_selected):
|
|
288 |
index_tmp = 0
|
289 |
while index_tmp < (len(interpretation) - 1):
|
290 |
if not is_subword[index_tmp+1]:
|
291 |
-
interpretation_combined.append((interpretation[index_tmp][0], -interpretation[index_tmp][1])
|
292 |
index_tmp += 1
|
293 |
else:
|
294 |
text_combined = interpretation[index_tmp][0]
|
@@ -424,7 +424,7 @@ def func1_written(text_written, human_predict, lang_written):
|
|
424 |
index_tmp = 0
|
425 |
while index_tmp < (len(interpretation) - 1):
|
426 |
if not is_subword[index_tmp+1]:
|
427 |
-
interpretation_combined.append((interpretation[index_tmp][0], -interpretation[index_tmp][1])
|
428 |
index_tmp += 1
|
429 |
else:
|
430 |
text_combined = interpretation[index_tmp][0]
|
|
|
288 |
index_tmp = 0
|
289 |
while index_tmp < (len(interpretation) - 1):
|
290 |
if not is_subword[index_tmp+1]:
|
291 |
+
interpretation_combined.append((interpretation[index_tmp][0], -interpretation[index_tmp][1]))
|
292 |
index_tmp += 1
|
293 |
else:
|
294 |
text_combined = interpretation[index_tmp][0]
|
|
|
424 |
index_tmp = 0
|
425 |
while index_tmp < (len(interpretation) - 1):
|
426 |
if not is_subword[index_tmp+1]:
|
427 |
+
interpretation_combined.append((interpretation[index_tmp][0], -interpretation[index_tmp][1]))
|
428 |
index_tmp += 1
|
429 |
else:
|
430 |
text_combined = interpretation[index_tmp][0]
|