abidlabs HF Staff commited on
Commit
15a046f
·
verified ·
1 Parent(s): f5eb019

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -460,7 +460,7 @@ async def text_to_speech_edge(text, language_code, speaker, tashkeel_checkbox=Fa
460
  tmp_path = tmp_file.name
461
  await communicate.save(tmp_path)
462
 
463
- return text, tmp_path
464
 
465
 
466
  def get_speakers(language):
 
460
  tmp_path = tmp_file.name
461
  await communicate.save(tmp_path)
462
 
463
+ return text, "https://abidlabs-multilingual-tts.hf.space/gradio_api/file=" + str(tmp_path)
464
 
465
 
466
  def get_speakers(language):