Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def init_TTS(config):
|
|
27 |
|
28 |
|
29 |
@spaces.GPU
|
30 |
-
def generate_speech(voice_choice, microphone, text):
|
31 |
# Generate speech using the provided text, speaker voice, and language
|
32 |
|
33 |
if voice_choice=="Record":
|
@@ -61,6 +61,7 @@ def UI(config):
|
|
61 |
fn=generate_speech,
|
62 |
inputs=[
|
63 |
voice_choice,
|
|
|
64 |
microphone,
|
65 |
enter_text
|
66 |
],
|
|
|
27 |
|
28 |
|
29 |
@spaces.GPU
|
30 |
+
def generate_speech(voice_choice, markdown, microphone, text):
|
31 |
# Generate speech using the provided text, speaker voice, and language
|
32 |
|
33 |
if voice_choice=="Record":
|
|
|
61 |
fn=generate_speech,
|
62 |
inputs=[
|
63 |
voice_choice,
|
64 |
+
markdown,
|
65 |
microphone,
|
66 |
enter_text
|
67 |
],
|