Update app.py
Browse files
app.py
CHANGED
@@ -25,34 +25,34 @@ def generate_voice(text, voice_name):
|
|
25 |
raise gr.Error(e)
|
26 |
|
27 |
|
28 |
-
badges = """
|
29 |
-
<div style="display: flex">
|
30 |
-
<span style="margin-right: 5px">
|
31 |
|
32 |
-
[  ](https://github.com/elevenlabs/elevenlabs-python)
|
33 |
|
34 |
-
</span>
|
35 |
-
<span style="margin-right: 5px">
|
36 |
|
37 |
-
[  ](https://twitter.com/elevenlabsio)
|
38 |
|
39 |
-
</span>
|
40 |
-
<span>
|
41 |
|
42 |
-
[  ](https://discord.gg/elevenlabs)
|
43 |
|
44 |
-
</span>
|
45 |
-
</div>
|
46 |
-
"""
|
47 |
|
48 |
description = """
|
49 |
-
|
50 |
"""
|
51 |
|
52 |
-
with gr.Blocks() as block:
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
input_text = gr.Textbox(
|
58 |
label="Input Text (250 characters max)",
|
|
|
25 |
raise gr.Error(e)
|
26 |
|
27 |
|
28 |
+
# badges = """
|
29 |
+
# <div style="display: flex">
|
30 |
+
# <span style="margin-right: 5px">
|
31 |
|
32 |
+
# [  ](https://github.com/elevenlabs/elevenlabs-python)
|
33 |
|
34 |
+
# </span>
|
35 |
+
# <span style="margin-right: 5px">
|
36 |
|
37 |
+
# [  ](https://twitter.com/elevenlabsio)
|
38 |
|
39 |
+
# </span>
|
40 |
+
# <span>
|
41 |
|
42 |
+
# [  ](https://discord.gg/elevenlabs)
|
43 |
|
44 |
+
# </span>
|
45 |
+
# </div>
|
46 |
+
# """
|
47 |
|
48 |
description = """
|
49 |
+
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!
|
50 |
"""
|
51 |
|
52 |
+
# with gr.Blocks() as block:
|
53 |
+
# gr.Markdown('[  ](https://elevenlabs.io)')
|
54 |
+
# gr.Markdown(badges)
|
55 |
+
# gr.Markdown(description)
|
56 |
|
57 |
input_text = gr.Textbox(
|
58 |
label="Input Text (250 characters max)",
|