namberino commited on
Commit
dc865c2
·
1 Parent(s): c357e06
Files changed (1) hide show
  1. app.py +1 -1
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=["mcq", "short", "long"], value="mcq", label="Question type")
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")