Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -477,7 +477,7 @@ ADDITIONAL PROOF GUIDELINES:
|
|
477 |
def get_difficulty_parameters(difficulty_level):
|
478 |
"""Return specific parameters and constraints based on difficulty level"""
|
479 |
parameters = {
|
480 |
-
1: {
|
481 |
"description": "suitable for beginners",
|
482 |
"constraints": [
|
483 |
"Use only basic concepts and straightforward calculations",
|
@@ -1348,11 +1348,11 @@ with gr.Blocks() as interface:
|
|
1348 |
|
1349 |
difficulty_slider = gr.Slider(
|
1350 |
minimum=1,
|
1351 |
-
maximum=
|
1352 |
step=1,
|
1353 |
-
value=
|
1354 |
label="Difficulty Level",
|
1355 |
-
info="1: Very Easy,
|
1356 |
)
|
1357 |
|
1358 |
question_type = gr.Radio(
|
|
|
477 |
def get_difficulty_parameters(difficulty_level):
|
478 |
"""Return specific parameters and constraints based on difficulty level"""
|
479 |
parameters = {
|
480 |
+
1: { # Very Easy
|
481 |
"description": "suitable for beginners",
|
482 |
"constraints": [
|
483 |
"Use only basic concepts and straightforward calculations",
|
|
|
1348 |
|
1349 |
difficulty_slider = gr.Slider(
|
1350 |
minimum=1,
|
1351 |
+
maximum=10,
|
1352 |
step=1,
|
1353 |
+
value=5,
|
1354 |
label="Difficulty Level",
|
1355 |
+
info="1: Very Easy, 5: Moderate, 10: Very Difficult"
|
1356 |
)
|
1357 |
|
1358 |
question_type = gr.Radio(
|