Spaces:
Runtime error
Runtime error
Updated app.py
Browse files
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="
|
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)
|