ViXuan commited on
Commit
5b61be5
1 Parent(s): 14cac88

Fixed gradio UI

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -641,8 +641,7 @@ iface = gr.Interface(
641
  fn=generate_mcq,
642
  inputs=[
643
  gr.Textbox(label="Input Text"),
644
- gr.Number(label="Max Questions", placeholder=4,
645
- default=4, minimum=1, maximum=10)
646
  ],
647
  outputs=gr.JSON(label="Generated MCQs"),
648
  )
 
641
  fn=generate_mcq,
642
  inputs=[
643
  gr.Textbox(label="Input Text"),
644
+ gr.Number(label="Max Questions", value=1, maximum=10)
 
645
  ],
646
  outputs=gr.JSON(label="Generated MCQs"),
647
  )