haramkoo commited on
Commit
065aeb8
·
1 Parent(s): b53e63b

webapp update 03-07-2022 6:48 pm

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def genQuestion(context):
12
  final_output = ''
13
 
14
  for i in range(4):
15
- final_output += [tok.decode(beam, skip_special_tokens=True, clean_up_tokenization_spaces=False) for beam in output][i] + " "
16
 
17
  return final_output
18
 
 
12
  final_output = ''
13
 
14
  for i in range(4):
15
+ final_output += [tok.decode(beam, skip_special_tokens=True, clean_up_tokenization_spaces=False) for beam in output][i-1] + " "
16
 
17
  return final_output
18