md change
Browse files
app.py
CHANGED
@@ -75,12 +75,13 @@ def clear_quiz():
|
|
75 |
return [[], ""] + [gr.update(visible=False, value=None) for _ in range(MAX_ANS_COMP)] + [""]
|
76 |
|
77 |
with gr.Blocks() as app:
|
78 |
-
|
79 |
with gr.Row():
|
80 |
-
gr.Markdown("
|
81 |
-
"Select Kid school grade and number of questions to generate. Choose Any as grade for above 8th Grade or Adults."
|
82 |
-
"Press Generate to generate quiz questions. Press Submit once you are done answering. Press Clear to clear the questions.")
|
83 |
gr.Image(value = Image.open("einstien.webp"), interactive = False, width=150, height=150)
|
|
|
|
|
|
|
84 |
with gr.Row():
|
85 |
grade = gr.Dropdown(choices=[5, 6, 7, 8, "Any"], label="Grade", value=6)
|
86 |
num_questions = gr.Dropdown(choices=[5, 10, 15, 20], label="Number of Questions", value=5)
|
|
|
75 |
return [[], ""] + [gr.update(visible=False, value=None) for _ in range(MAX_ANS_COMP)] + [""]
|
76 |
|
77 |
with gr.Blocks() as app:
|
78 |
+
|
79 |
with gr.Row():
|
80 |
+
gr.Markdown("# QuizWhiz: Your Quiz Master")
|
|
|
|
|
81 |
gr.Image(value = Image.open("einstien.webp"), interactive = False, width=150, height=150)
|
82 |
+
gr.Markdown("Welcome to the ultimate trivia challenge! Whether you're a curious kid or a lifelong learner, this app is designed to test your knowledge and keep your mind sharp.")
|
83 |
+
gr.Markdown("Select Kid school grade and number of questions to generate. Choose Any as grade for above 8th Grade or Adults.")
|
84 |
+
gr.Markdown("Press Generate to generate quiz questions. Press Submit once you are done answering. Press Clear to clear the questions.")
|
85 |
with gr.Row():
|
86 |
grade = gr.Dropdown(choices=[5, 6, 7, 8, "Any"], label="Grade", value=6)
|
87 |
num_questions = gr.Dropdown(choices=[5, 10, 15, 20], label="Number of Questions", value=5)
|