potsawee commited on
Commit
2d4d266
1 Parent(s): e00e573

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -33,7 +33,10 @@ def generate_multiple_choice_question(
33
 
34
  demo = gr.Interface(
35
  fn=generate_multiple_choice_question,
36
- inputs=gr.Textbox(lines=5, placeholder="Context Here..."),
37
- outputs=gr.Textbox(lines=5, placeholder="Question: ...\n[A] ...\n[B] ...\n[C] ...\n[D] ..."),
 
 
 
38
  )
39
  demo.launch()
 
33
 
34
  demo = gr.Interface(
35
  fn=generate_multiple_choice_question,
36
+ inputs=gr.Textbox(lines=8, placeholder="Context Here..."),
37
+ outputs=gr.Textbox(lines=5, placeholder="Question: \n[A] \n[B] \n[C] \n[D] "),
38
+ title="Multiple-choice Question (and Options) Generator",
39
+ description="Provide some context (e.g. news article or any passage) in the context box and click **Submit**. The models currently support English only. This demo is a part of MQAG - https://github.com/potsawee/mqag0.",
40
+ allow_flagging='never'
41
  )
42
  demo.launch()