Saurabhz commited on
Commit
18cfd04
·
1 Parent(s): a89488a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,4 +19,4 @@ def question_answer(context, question):
19
  answers, probabilities = model.predict(to_predict)
20
  return answers[0]['answer'][0]
21
 
22
- gr.Interface(fn=question_answer(context, question), inputs=["text", "text"], outputs=["textbox"]).launch()
 
19
  answers, probabilities = model.predict(to_predict)
20
  return answers[0]['answer'][0]
21
 
22
+ gr.Interface(fn=question_answer, inputs=["text", "text"], outputs=["textbox"]).launch()