hoololi commited on
Commit
a4436b0
·
verified ·
1 Parent(s): 99e80c2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -27
app.py CHANGED
@@ -141,33 +141,30 @@ with gr.Blocks(
141
  )
142
 
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):
 
141
  )
142
 
143
  # Configuration de la session
144
+ with gr.Column():
145
+ with gr.Row():
146
+ duration_choice = gr.Radio(
147
+ choices=["30 secondes", "60 secondes"],
148
+ value="30 secondes",
149
+ label="### ⏱️ Durée", # Label vide car on utilise le Markdown
150
+ elem_classes=["radio-group"]
151
+ )
152
+
153
+ with gr.Row():
154
+ operation_choice = gr.Radio(
155
+ choices=["×", "+", "-", "÷", "Aléatoire"],
156
+ value="×",
157
+ label="### 🔢 Opération", # Label vide
158
+ elem_classes=["radio-group"]
159
+ )
160
+
161
+ with gr.Row():
162
+ difficulty_choice = gr.Radio(
163
+ choices=["Facile", "Difficile"],
164
+ value="Facile",
165
+ label="### 🎯 Difficulté", # Label vide
166
+ elem_classes=["radio-group"]
167
+ )
 
 
 
168
 
169
  with gr.Row():
170
  with gr.Column(scale=1):