nata0801 commited on
Commit
df70a4b
1 Parent(s): 939248d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,5 +23,5 @@ def QA_function(context, question):
23
 
24
  return answer
25
 
26
- gradio_ui = gr.Interface(fn = QA_function, [gr.inputs.Textbox(lines=7, label="Context"), gr.inputs.Textbox(label="Question"), ], gr.outputs.Textbox(label="Answer"))
27
- gradio_ui.launch()
 
23
 
24
  return answer
25
 
26
+ gradio_ui = gr.Interface(fn = QA_function, [gr.inputs.Textbox(lines=7, label="Context"), gr.inputs.Textbox(label="Question")], gr.outputs.Textbox(label="Answer"))
27
+ gradio_ui.launch()