legacy107 commited on
Commit
e4d0488
1 Parent(s): 53e3e9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def generate_answer(question, context, ground_truth, do_pretrained, do_natural):
71
  generated_answer = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
72
 
73
  # Paraphrase answer
74
- paraphrase_answer = ""
75
  if do_natural:
76
  paraphrased_answer = paraphrase_answer(question, generated_answer)
77
 
 
71
  generated_answer = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
72
 
73
  # Paraphrase answer
74
+ paraphrased_answer = ""
75
  if do_natural:
76
  paraphrased_answer = paraphrase_answer(question, generated_answer)
77