sulaimank commited on
Commit
d64991f
Β·
verified Β·
1 Parent(s): 95f0651

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks(
148
 
149
  # Input text
150
  text_input = gr.Textbox(
151
- label="✍️ Enter Luganda Text",
152
  placeholder="Wandika wano ekigambo mu Luganda...",
153
  value="Gyebaleko ssebo.",
154
  lines=5,
@@ -158,7 +158,7 @@ with gr.Blocks(
158
  # Model selection and generate button in a row
159
  with gr.Row():
160
  model_choice = gr.Radio(
161
- label="🎯 Select Model",
162
  choices=list(MODEL_INFO.keys()),
163
  value="Model 1",
164
  interactive=True
@@ -166,7 +166,7 @@ with gr.Blocks(
166
 
167
  with gr.Column():
168
  generate_btn = gr.Button(
169
- "πŸ”Š Generate Speech",
170
  variant="primary",
171
  elem_classes=["generate-btn"],
172
  size="lg"
@@ -174,7 +174,7 @@ with gr.Blocks(
174
 
175
  # Audio output
176
  audio_output = gr.Audio(
177
- label="🎧 Generated Speech",
178
  type="filepath",
179
  interactive=False
180
  )
@@ -186,7 +186,7 @@ with gr.Blocks(
186
  outputs=audio_output,
187
  fn=generate_speech,
188
  cache_examples=False,
189
- label="πŸ’‘ Try these examples"
190
  )
191
 
192
  # Event handlers
 
148
 
149
  # Input text
150
  text_input = gr.Textbox(
151
+ label="Enter Luganda Text",
152
  placeholder="Wandika wano ekigambo mu Luganda...",
153
  value="Gyebaleko ssebo.",
154
  lines=5,
 
158
  # Model selection and generate button in a row
159
  with gr.Row():
160
  model_choice = gr.Radio(
161
+ label="Select Model",
162
  choices=list(MODEL_INFO.keys()),
163
  value="Model 1",
164
  interactive=True
 
166
 
167
  with gr.Column():
168
  generate_btn = gr.Button(
169
+ "Generate Speech",
170
  variant="primary",
171
  elem_classes=["generate-btn"],
172
  size="lg"
 
174
 
175
  # Audio output
176
  audio_output = gr.Audio(
177
+ label="Generated Speech",
178
  type="filepath",
179
  interactive=False
180
  )
 
186
  outputs=audio_output,
187
  fn=generate_speech,
188
  cache_examples=False,
189
+ label="Try these examples"
190
  )
191
 
192
  # Event handlers