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

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -141,30 +141,30 @@ 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.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):