Update app.py
Browse files
app.py
CHANGED
@@ -26,22 +26,6 @@ def generate_voice(text, voice_name):
|
|
26 |
|
27 |
|
28 |
badges = """
|
29 |
-
<div style="display: flex">
|
30 |
-
<span style="margin-right: 5px">
|
31 |
-
|
32 |
-
</span>
|
33 |
-
<span style="margin-right: 5px">
|
34 |
-
</span>
|
35 |
-
<span>
|
36 |
-
|
37 |
-
</span>
|
38 |
-
</div>
|
39 |
-
"""
|
40 |
-
|
41 |
-
description = """
|
42 |
-
Welcome to AI Tutor Text to Voice, single foundational model supporting 28 languages including: English, Chinese, Spanish, Hindi, Portuguese, French, German, Japanese, Arabic, Korean, Indonesian, Italian, Dutch, Turkish, Polish, Swedish, Filipino, Malay, Romanian, Ukrainian, Greek, Czech, Danish, Finnish, Bulgarian, Croatian, Slovak, and Tamil. Sign up on [ElevenLabs](https://elevenlabs.io) to get fast access, long-form generation, voice cloning, API keys, and more!
|
43 |
-
"""
|
44 |
-
menu = """
|
45 |
<div style="display: flex; justify-content: space-between; align-items: center; background-color: #f5f5f5; padding: 10px;">
|
46 |
<span>🎵 AI Tutor Text to Voice</span>
|
47 |
<div>
|
@@ -52,6 +36,11 @@ menu = """
|
|
52 |
</div>
|
53 |
"""
|
54 |
|
|
|
|
|
|
|
|
|
|
|
55 |
with gr.Blocks() as block:
|
56 |
gr.Markdown('')
|
57 |
gr.Markdown(badges)
|
|
|
26 |
|
27 |
|
28 |
badges = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
<div style="display: flex; justify-content: space-between; align-items: center; background-color: #f5f5f5; padding: 10px;">
|
30 |
<span>🎵 AI Tutor Text to Voice</span>
|
31 |
<div>
|
|
|
36 |
</div>
|
37 |
"""
|
38 |
|
39 |
+
description = """
|
40 |
+
Welcome to AI Tutor Text to Voice, single foundational model supporting 28 languages including: English, Chinese, Spanish, Hindi, Portuguese, French, German, Japanese, Arabic, Korean, Indonesian, Italian, Dutch, Turkish, Polish, Swedish, Filipino, Malay, Romanian, Ukrainian, Greek, Czech, Danish, Finnish, Bulgarian, Croatian, Slovak, and Tamil. Sign up on [ElevenLabs](https://elevenlabs.io) to get fast access, long-form generation, voice cloning, API keys, and more!
|
41 |
+
"""
|
42 |
+
|
43 |
+
|
44 |
with gr.Blocks() as block:
|
45 |
gr.Markdown('')
|
46 |
gr.Markdown(badges)
|