Spaces:
Running
Running
updated the label convert voice to text
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ async def get_voices():
|
|
13 |
# Text to speech functionality
|
14 |
async def text_to_speech(text, voice, rate, pitch, output_path):
|
15 |
if not text.strip():
|
16 |
-
return None, gr.Warning("Please enter the text to convert
|
17 |
if not voice:
|
18 |
return None, gr.Warning("Please select a voice.")
|
19 |
|
|
|
13 |
# Text to speech functionality
|
14 |
async def text_to_speech(text, voice, rate, pitch, output_path):
|
15 |
if not text.strip():
|
16 |
+
return None, gr.Warning("Please enter the text to convert into voice")
|
17 |
if not voice:
|
18 |
return None, gr.Warning("Please select a voice.")
|
19 |
|