Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,4 +13,6 @@ def text2text(context, answer):
|
|
13 |
|
14 |
context = gr.Textbox(lines=10, label="English", placeholder="Context")
|
15 |
answer = gr.Textbox(lines=1, label="Answer")
|
16 |
-
out = gr.Textbox(
|
|
|
|
|
|
13 |
|
14 |
context = gr.Textbox(lines=10, label="English", placeholder="Context")
|
15 |
answer = gr.Textbox(lines=1, label="Answer")
|
16 |
+
out = gr.Textbox(lines=1, label="Generated question")
|
17 |
+
|
18 |
+
gr.Interface(text2text, inputs=[context, answer], outputs=out).launch()
|