FahadAlam commited on
Commit
b3dc11c
1 Parent(s): 16b2e1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,5 +20,5 @@ css = """
20
  .footer {display:none !important}
21
  """
22
 
23
- demo = gr.Interface(fn=get_question, inputs=["text", "text"], outputs="text", title="Question Generator", examples=examples, css=css)
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()