tommy24 commited on
Commit
8c8cf04
·
1 Parent(s): 10b9a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def function1(prompt):
19
  data = "https://matthijs-speecht5-tts-demo.hf.space/file="+data
20
  file_name, headers = urllib.request.urlretrieve(data, "speech.wav")
21
  sound = AudioSegment.from_wav(file_name)
22
- mp3_file = "https://tommy24-testing45.hf.space/file=speech.mp3"
23
  sound.export(mp3_file, format="mp3")
24
  return mp3_file
25
 
 
19
  data = "https://matthijs-speecht5-tts-demo.hf.space/file="+data
20
  file_name, headers = urllib.request.urlretrieve(data, "speech.wav")
21
  sound = AudioSegment.from_wav(file_name)
22
+ mp3_file = "speech.mp3"
23
  sound.export(mp3_file, format="mp3")
24
  return mp3_file
25