Jaehan commited on
Commit
98cf63a
·
1 Parent(s): 3e46a2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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(text2text, inputs=[context, answer], outputs=out).launch()
 
 
 
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()