Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -141,27 +141,23 @@ with gr.Blocks(
|
|
| 141 |
)
|
| 142 |
|
| 143 |
# Configuration de la session
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
value="Facile",
|
| 162 |
-
label="**🎯 Difficulté**",
|
| 163 |
-
elem_classes=["radio-group"]
|
| 164 |
-
)
|
| 165 |
|
| 166 |
with gr.Row():
|
| 167 |
with gr.Column(scale=1):
|
|
|
|
| 141 |
)
|
| 142 |
|
| 143 |
# Configuration de la session
|
| 144 |
+
duration_choice = gr.Radio(
|
| 145 |
+
choices=["30 secondes", "60 secondes"],
|
| 146 |
+
value="30 secondes",
|
| 147 |
+
label="**⏱️ Durée**"
|
| 148 |
+
)
|
| 149 |
+
|
| 150 |
+
operation_choice = gr.Radio(
|
| 151 |
+
choices=["×", "+", "-", "÷", "Aléatoire"],
|
| 152 |
+
value="×",
|
| 153 |
+
label="**🔢 Opération**"
|
| 154 |
+
)
|
| 155 |
+
|
| 156 |
+
difficulty_choice = gr.Radio(
|
| 157 |
+
choices=["Facile", "Difficile"],
|
| 158 |
+
value="Facile",
|
| 159 |
+
label="**🎯 Difficulté**"
|
| 160 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
|
| 162 |
with gr.Row():
|
| 163 |
with gr.Column(scale=1):
|