hoololi commited on
Commit
41a56b4
·
verified ·
1 Parent(s): 8c574ad

Upload app.py

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