JRQi commited on
Commit
6f8b2b2
1 Parent(s): 8c73fbd

Update game1.py

Browse files
Files changed (1) hide show
  1. game1.py +2 -3
game1.py CHANGED
@@ -294,13 +294,12 @@ def interpre1(lang_selected, num_selected):
294
  else:
295
  is_subword.append(False)
296
  print(is_subword)
297
-
298
  interpretation_combined = []
299
 
300
  index_tmp = 0
301
- while index_tmp < len(interpretation) - 1:
302
  if not is_subword[index_tmp+1]:
303
- interpretation_combined.append(interpretation[i])
304
  index_tmp += 1
305
  else:
306
  text_combined = interpretation[index_tmp][0]
 
294
  else:
295
  is_subword.append(False)
296
  print(is_subword)
 
297
  interpretation_combined = []
298
 
299
  index_tmp = 0
300
+ while index_tmp < (len(interpretation) - 1):
301
  if not is_subword[index_tmp+1]:
302
+ interpretation_combined.append(interpretation[index_tmp])
303
  index_tmp += 1
304
  else:
305
  text_combined = interpretation[index_tmp][0]