shawon100 commited on
Commit
8f29cfe
·
1 Parent(s): 1fe4027

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def qnamodel(context,question):
11
 
12
  interface = gr.Interface(fn=qnamodel,
13
  inputs=[gr.inputs.Textbox(lines=7, label="Context"), gr.inputs.Textbox(lines=2, label="Question")],
14
- outputs="text",
15
  title='Context Question Answering')
16
 
17
  interface.launch(inline=False)
 
11
 
12
  interface = gr.Interface(fn=qnamodel,
13
  inputs=[gr.inputs.Textbox(lines=7, label="Context"), gr.inputs.Textbox(lines=2, label="Question")],
14
+ outputs= gr.outputs.Textbox(label="Answer"),
15
  title='Context Question Answering')
16
 
17
  interface.launch(inline=False)