helliun commited on
Commit
ff14c49
·
verified ·
1 Parent(s): c10d558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -187,8 +187,8 @@ with gr.Blocks(theme="soft") as app:
187
  See how well you know what you know. Enter a category and a quiz will be generated. Answer the True/False questions about it, and scores will then be calculated on your knowledge of the category, and on your ***knowledge of your knowledge*** of the category.""")
188
  with gr.Row():
189
  category_input = gr.Textbox(label="Category", placeholder="general knowledge", scale=4)
190
- num_categories_input = gr.Number(label="Number of Subcategories", value=6, scale=1)
191
- num_questions_input = gr.Number(label="Questions per Subcategory", value=5, scale=1)
192
  total_questions_display = gr.Number(label="Total Questions in Quiz", value=30, scale=1)
193
  submit_category = gr.Button("Generate Quiz")
194
  question_area = gr.Markdown(visible=False)
 
187
  See how well you know what you know. Enter a category and a quiz will be generated. Answer the True/False questions about it, and scores will then be calculated on your knowledge of the category, and on your ***knowledge of your knowledge*** of the category.""")
188
  with gr.Row():
189
  category_input = gr.Textbox(label="Category", placeholder="general knowledge", scale=4)
190
+ num_categories_input = gr.Number(label="Number of Subcategories", value=5, scale=1, maximum=6)
191
+ num_questions_input = gr.Number(label="Questions per Subcategory", value=5, scale=1, maximum=6)
192
  total_questions_display = gr.Number(label="Total Questions in Quiz", value=30, scale=1)
193
  submit_category = gr.Button("Generate Quiz")
194
  question_area = gr.Markdown(visible=False)