RishuD7 commited on
Commit
fa81de2
1 Parent(s): db7adf5

Add application file

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -18,8 +18,6 @@ def question_answering(question, context):
18
 
19
  # Return the response from the API
20
  return output["answer"]
21
-
22
  interface = gr.Interface(fn=question_answering, inputs=[gr.inputs.Textbox("question"), gr.inputs.Textbox("context")], outputs=["text"])
23
-
24
  # Launch the gradio interface
25
  interface.launch()
 
18
 
19
  # Return the response from the API
20
  return output["answer"]
 
21
  interface = gr.Interface(fn=question_answering, inputs=[gr.inputs.Textbox("question"), gr.inputs.Textbox("context")], outputs=["text"])
 
22
  # Launch the gradio interface
23
  interface.launch()