Update app.py
Browse files
app.py
CHANGED
@@ -47,12 +47,12 @@ def generate_speech(voice_choice, markdown, microphone, text):
|
|
47 |
def UI(config):
|
48 |
|
49 |
# gradio elements
|
50 |
-
voice_choice = gr.Radio(label="Record or
|
51 |
choices=["Record", "Predefined (Nancy)"],
|
52 |
value="Record")
|
53 |
markdown = gr.Markdown("""If recording, speak loud and clearly. Recommended speaking track
|
54 |
-
*printing, in the only sense with which we are at present concerned,
|
55 |
-
differs from most if not all the arts and crafts in the exhibition.*""")
|
56 |
microphone = gr.Audio(label="Audio", sources="microphone", type="filepath", elem_id='audio')
|
57 |
enter_text = gr.Textbox(label="Enter your text")
|
58 |
|
@@ -67,7 +67,7 @@ def UI(config):
|
|
67 |
],
|
68 |
outputs="audio",
|
69 |
title="Voice cloning and Synthesis with Coqui-XTTS",
|
70 |
-
description="Clone your voice and Synthesize speech using predefined target voice and language. It takes a
|
71 |
)
|
72 |
|
73 |
# Launch the interface
|
|
|
47 |
def UI(config):
|
48 |
|
49 |
# gradio elements
|
50 |
+
voice_choice = gr.Radio(label="Record or use a predefined voice.",
|
51 |
choices=["Record", "Predefined (Nancy)"],
|
52 |
value="Record")
|
53 |
markdown = gr.Markdown("""If recording, speak loud and clearly. Recommended speaking track
|
54 |
+
"*printing, in the only sense with which we are at present concerned,
|
55 |
+
differs from, most if not all, the arts and crafts in the exhibition.*"""")
|
56 |
microphone = gr.Audio(label="Audio", sources="microphone", type="filepath", elem_id='audio')
|
57 |
enter_text = gr.Textbox(label="Enter your text")
|
58 |
|
|
|
67 |
],
|
68 |
outputs="audio",
|
69 |
title="Voice cloning and Synthesis with Coqui-XTTS",
|
70 |
+
description="Clone your voice and Synthesize speech using predefined target voice and language. It takes a 10-20 seconds to download the model, so wait to record until the app is *Running on Zero* to begin."
|
71 |
)
|
72 |
|
73 |
# Launch the interface
|