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

Upload app.py

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