Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,6 @@ def text_to_speech(text):
|
|
| 8 |
response = requests.get(endpoint)
|
| 9 |
with open("output.mp3", "wb") as f:
|
| 10 |
f.write(response.content)
|
| 11 |
-
return
|
| 12 |
|
| 13 |
gr.Interface(text_to_speech, inputs="text", outputs="audio").launch()
|
|
|
|
| 8 |
response = requests.get(endpoint)
|
| 9 |
with open("output.mp3", "wb") as f:
|
| 10 |
f.write(response.content)
|
| 11 |
+
return "output.mp3"
|
| 12 |
|
| 13 |
gr.Interface(text_to_speech, inputs="text", outputs="audio").launch()
|