cooelf commited on
Commit
86475d9
1 Parent(s): 8a6abd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def inference(question, context):
181
  final_answer = "The question is not answerable according to the context."
182
  else:
183
  final_answer = nbest[0]["text"]
184
- return final_answer
185
 
186
  demo = gr.Interface(
187
  fn=inference,
 
181
  final_answer = "The question is not answerable according to the context."
182
  else:
183
  final_answer = nbest[0]["text"]
184
+ return final_answer, ""
185
 
186
  demo = gr.Interface(
187
  fn=inference,