Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -143,37 +143,31 @@ with gr.Blocks(
|
|
| 143 |
# Configuration de la session
|
| 144 |
with gr.Column():
|
| 145 |
with gr.Row():
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
elem_classes=["radio-group"]
|
| 154 |
-
)
|
| 155 |
|
| 156 |
with gr.Row():
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
elem_classes=["radio-group"]
|
| 165 |
-
)
|
| 166 |
|
| 167 |
with gr.Row():
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
elem_classes=["radio-group"]
|
| 176 |
-
)
|
| 177 |
|
| 178 |
with gr.Row():
|
| 179 |
with gr.Column(scale=1):
|
|
|
|
| 143 |
# Configuration de la session
|
| 144 |
with gr.Column():
|
| 145 |
with gr.Row():
|
| 146 |
+
gr.Markdown("### ⏱️ Durée", elem_classes=["radio-label"])
|
| 147 |
+
duration_choice = gr.Radio(
|
| 148 |
+
choices=["30 secondes", "60 secondes"],
|
| 149 |
+
value="30 secondes",
|
| 150 |
+
label="", # Label vide car on utilise le Markdown
|
| 151 |
+
elem_classes=["radio-group"]
|
| 152 |
+
)
|
|
|
|
|
|
|
| 153 |
|
| 154 |
with gr.Row():
|
| 155 |
+
gr.Markdown("### 🔢 Opération", elem_classes=["radio-label"])
|
| 156 |
+
operation_choice = gr.Radio(
|
| 157 |
+
choices=["×", "+", "-", "÷", "Aléatoire"],
|
| 158 |
+
value="×",
|
| 159 |
+
label="", # Label vide
|
| 160 |
+
elem_classes=["radio-group"]
|
| 161 |
+
)
|
|
|
|
|
|
|
| 162 |
|
| 163 |
with gr.Row():
|
| 164 |
+
gr.Markdown("### 🎯 Difficulté", elem_classes=["radio-label"])
|
| 165 |
+
difficulty_choice = gr.Radio(
|
| 166 |
+
choices=["Facile", "Difficile"],
|
| 167 |
+
value="Facile",
|
| 168 |
+
label="", # Label vide
|
| 169 |
+
elem_classes=["radio-group"]
|
| 170 |
+
)
|
|
|
|
|
|
|
| 171 |
|
| 172 |
with gr.Row():
|
| 173 |
with gr.Column(scale=1):
|