JRQi commited on
Commit
9768496
1 Parent(s): 598a5e3

Update game1.py

Browse files
Files changed (1) hide show
  1. game1.py +2 -2
game1.py CHANGED
@@ -27,7 +27,7 @@ def read1(lang):
27
  text = eval(content[int(index_selected*2)])
28
  res_tmp = [(i, 0) for i in tokens]
29
  res = {"original": text['text'], "interpretation": res_tmp}
30
- res_empty = {"original": "", "interpretation": []}
31
 
32
  # res = []
33
  # res.append(("P", "+"))
@@ -39,7 +39,7 @@ def read1(lang):
39
  # res_empty = None
40
  # checkbox_update = gr.CheckboxGroup.update(choices=tokens, value=None)
41
 
42
- return res, lang, index_selected, res_empty, 0, 0, [], ""
43
 
44
  def read1_written(lang):
45
  if lang in ['en']:
 
27
  text = eval(content[int(index_selected*2)])
28
  res_tmp = [(i, 0) for i in tokens]
29
  res = {"original": text['text'], "interpretation": res_tmp}
30
+ # res_empty = {"original": "", "interpretation": []}
31
 
32
  # res = []
33
  # res.append(("P", "+"))
 
39
  # res_empty = None
40
  # checkbox_update = gr.CheckboxGroup.update(choices=tokens, value=None)
41
 
42
+ return res, lang, index_selected
43
 
44
  def read1_written(lang):
45
  if lang in ['en']: