Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,5 +20,5 @@ css = """
|
|
| 20 |
.footer {display:none !important}
|
| 21 |
"""
|
| 22 |
|
| 23 |
-
demo = gr.Interface(fn=get_question, inputs=["text", "
|
| 24 |
demo.launch()
|
|
|
|
| 20 |
.footer {display:none !important}
|
| 21 |
"""
|
| 22 |
|
| 23 |
+
demo = gr.Interface(fn=get_question, inputs=[gr.Textbox(lines=3, placeholder="Enter text here", label="Context"), gr.Textbox(lines=1, label="Answer")], outputs=gr.Textbox(label="Generated Question"), examples=examples, css=css)
|
| 24 |
demo.launch()
|