namberino
commited on
Commit
·
dc865c2
1
Parent(s):
c357e06
Reset
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(title="RAG MCQ generator") as gradio_app:
|
|
143 |
with gr.Row():
|
144 |
n_questions = gr.Slider(minimum=1, maximum=50, step=1, value=5, label="Number of questions")
|
145 |
difficulty = gr.Dropdown(choices=["easy", "medium", "hard"], value="medium", label="Difficulty")
|
146 |
-
question_type = gr.Dropdown(choices=["
|
147 |
|
148 |
generate_btn = gr.Button("Generate")
|
149 |
output = gr.JSON(label="Response")
|
|
|
143 |
with gr.Row():
|
144 |
n_questions = gr.Slider(minimum=1, maximum=50, step=1, value=5, label="Number of questions")
|
145 |
difficulty = gr.Dropdown(choices=["easy", "medium", "hard"], value="medium", label="Difficulty")
|
146 |
+
question_type = gr.Dropdown(choices=["definition", "application", "conceptual"], value="mcq", label="Question type")
|
147 |
|
148 |
generate_btn = gr.Button("Generate")
|
149 |
output = gr.JSON(label="Response")
|