Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def generate_voice(text, voice_name, api_key):
|
|
26 |
raise gr.Error(e)
|
27 |
|
28 |
description = """
|
29 |
-
Eleven Multilingual V2 is the world's best Text-to-Speech model.
|
30 |
"""
|
31 |
|
32 |
with gr.Blocks() as block:
|
@@ -35,7 +35,7 @@ with gr.Blocks() as block:
|
|
35 |
gr.Markdown(description)
|
36 |
|
37 |
input_text = gr.Textbox(
|
38 |
-
label="Input Text (
|
39 |
lines=2,
|
40 |
value="Hello! 你好! Hola! नमस्ते! Bonjour! こんにちは! مرحبا! 안녕하세요! Ciao! Cześć! Привіт! Γειά σας! Здравей! வணக்கம்!",
|
41 |
elem_id="input_text"
|
|
|
26 |
raise gr.Error(e)
|
27 |
|
28 |
description = """
|
29 |
+
Eleven Multilingual V2 is the world's best Text-to-Speech model. Sign up on [ElevenLabs](elevenlabs.io/?from=partnerpierce7156) to get an API Key.
|
30 |
"""
|
31 |
|
32 |
with gr.Blocks() as block:
|
|
|
35 |
gr.Markdown(description)
|
36 |
|
37 |
input_text = gr.Textbox(
|
38 |
+
label="Input Text (4000 characters max)",
|
39 |
lines=2,
|
40 |
value="Hello! 你好! Hola! नमस्ते! Bonjour! こんにちは! مرحبا! 안녕하세요! Ciao! Cześć! Привіт! Γειά σας! Здравей! வணக்கம்!",
|
41 |
elem_id="input_text"
|