amitagh commited on
Commit
6aa5405
·
verified ·
1 Parent(s): 70ee7d3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as app:
86
  #gr.Markdown("Select Kid school grade and number of questions to generate. Choose Any as grade for above 8th Grade or Adults.")
87
  #gr.Markdown("Press Generate to generate quiz questions. Press Submit once you are done answering. Press Clear to clear the questions.")
88
  with gr.Row():
89
- grade = gr.Dropdown(choices=[5, 6, 7, 8, "Any"], label="Grade", value=6)
90
  num_questions = gr.Dropdown(choices=[5, 10, 15, 20], label="Number of Questions", value=5)
91
  #num_questions = gr.Slider(minimum=1, maximum=MAX_ANS_COMP, step=1, value=10, label="Number of Questions")
92
  generate_btn = gr.Button("Generate Quiz")
 
86
  #gr.Markdown("Select Kid school grade and number of questions to generate. Choose Any as grade for above 8th Grade or Adults.")
87
  #gr.Markdown("Press Generate to generate quiz questions. Press Submit once you are done answering. Press Clear to clear the questions.")
88
  with gr.Row():
89
+ grade = gr.Dropdown(choices=[3,4, 5, 6, 7, 8, "Any"], label="Grade", value=6)
90
  num_questions = gr.Dropdown(choices=[5, 10, 15, 20], label="Number of Questions", value=5)
91
  #num_questions = gr.Slider(minimum=1, maximum=MAX_ANS_COMP, step=1, value=10, label="Number of Questions")
92
  generate_btn = gr.Button("Generate Quiz")