Spaces:
Runtime error
Runtime error
Update mcq.py
Browse files
mcq.py
CHANGED
@@ -91,7 +91,7 @@ def post_interface():
|
|
91 |
topics = gr.Textbox(label="Topics (comma-separated)", value="Light")
|
92 |
number_of_questions = gr.Number(label="Number of Questions", value=20)
|
93 |
|
94 |
-
gr.Markdown("## Question Type
|
95 |
with gr.Row():
|
96 |
with gr.Column():
|
97 |
multiple_answer = gr.Number(label="Multiple Answer Questions (%)", minimum=0, maximum=100, value=100)
|
@@ -102,7 +102,7 @@ def post_interface():
|
|
102 |
# medium = gr.Slider(label="Medium Questions (%)", minimum=0, maximum=100, value=0)
|
103 |
# hard = gr.Slider(label="Hard Questions (%)", minimum=0, maximum=100, value=0)
|
104 |
|
105 |
-
gr.Markdown("## Difficulty Distribution (easy, medium, hard)")
|
106 |
# Difficulty Distribution (easy, medium, hard)
|
107 |
with gr.Row():
|
108 |
with gr.Column():
|
@@ -119,7 +119,7 @@ def post_interface():
|
|
119 |
# evaluate = gr.Slider(label="Evaluate (%)", minimum=0, maximum=100, value=0)
|
120 |
# create = gr.Slider(label="Create (%)", minimum=0, maximum=100, value=0)
|
121 |
|
122 |
-
gr.Markdown("## Bloom Taxonomy Distribution (Remember, Understand, Apply, Analyze, Evaluate, Create)")
|
123 |
# Bloom Taxonomy Distribution (Remember, Understand, Apply, Analyze, Evaluate, Create)
|
124 |
with gr.Row():
|
125 |
with gr.Column():
|
|
|
91 |
topics = gr.Textbox(label="Topics (comma-separated)", value="Light")
|
92 |
number_of_questions = gr.Number(label="Number of Questions", value=20)
|
93 |
|
94 |
+
gr.Markdown("## Question Type (Multiple Answer, Single Answer) - Absolute")
|
95 |
with gr.Row():
|
96 |
with gr.Column():
|
97 |
multiple_answer = gr.Number(label="Multiple Answer Questions (%)", minimum=0, maximum=100, value=100)
|
|
|
102 |
# medium = gr.Slider(label="Medium Questions (%)", minimum=0, maximum=100, value=0)
|
103 |
# hard = gr.Slider(label="Hard Questions (%)", minimum=0, maximum=100, value=0)
|
104 |
|
105 |
+
gr.Markdown("## Difficulty Distribution (easy, medium, hard) - Percentage")
|
106 |
# Difficulty Distribution (easy, medium, hard)
|
107 |
with gr.Row():
|
108 |
with gr.Column():
|
|
|
119 |
# evaluate = gr.Slider(label="Evaluate (%)", minimum=0, maximum=100, value=0)
|
120 |
# create = gr.Slider(label="Create (%)", minimum=0, maximum=100, value=0)
|
121 |
|
122 |
+
gr.Markdown("## Bloom Taxonomy Distribution (Remember, Understand, Apply, Analyze, Evaluate, Create) - Percentage")
|
123 |
# Bloom Taxonomy Distribution (Remember, Understand, Apply, Analyze, Evaluate, Create)
|
124 |
with gr.Row():
|
125 |
with gr.Column():
|