RK6754 commited on
Commit
9af5833
·
verified ·
1 Parent(s): bee386d

updated the label convert voice to text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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