Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|