Fixed gradio UI
Browse files
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",
|
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 |
)
|