Spaces:
Sleeping
Sleeping
Ronaldo commited on
Commit ·
3b67889
1
Parent(s): 941b080
first commit
Browse files
app.py
CHANGED
|
@@ -234,16 +234,19 @@ with gr.Blocks(title="🎙️ MMS ASR/TTS - Speech AI", theme=gr.themes.Soft())
|
|
| 234 |
outputs=[audio_output, info_tts]
|
| 235 |
)
|
| 236 |
|
| 237 |
-
# Exemples
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
|
|
|
|
|
|
|
|
|
| 247 |
|
| 248 |
# ============= TAB 3: INFOS =============
|
| 249 |
with gr.TabItem("ℹ️ À propos", id="about"):
|
|
|
|
| 234 |
outputs=[audio_output, info_tts]
|
| 235 |
)
|
| 236 |
|
| 237 |
+
# Exemples (optionnel - commenté pour éviter les erreurs)
|
| 238 |
+
# Uncomment pour activer après test
|
| 239 |
+
# gr.Examples(
|
| 240 |
+
# examples=[
|
| 241 |
+
# ["Hello world", "English (eng)"],
|
| 242 |
+
# ["Àbọ̀ wa", "Yoruba (yor)"],
|
| 243 |
+
# ["Bonjour", "English (eng)"],
|
| 244 |
+
# ],
|
| 245 |
+
# fn=synthesize_speech,
|
| 246 |
+
# inputs=[text_input, language_tts],
|
| 247 |
+
# outputs=[audio_output, info_tts],
|
| 248 |
+
# label="💡 Exemples"
|
| 249 |
+
# )
|
| 250 |
|
| 251 |
# ============= TAB 3: INFOS =============
|
| 252 |
with gr.TabItem("ℹ️ À propos", id="about"):
|