tommy24 commited on
Commit
e8552bd
1 Parent(s): d93694e

Update app.py

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