Omnibus commited on
Commit
5ef074e
·
1 Parent(s): 980c986

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def try1():
33
  # Text to speech with a numpy output
34
  #wav = tts.tts("This is a test! This is also a test!!", speaker=tts.speakers[0], language=tts.languages[0])
35
  # Text to speech to a file
36
- tts.tts_to_file(text="Hello world!", speaker=tts.speakers[0], language=tts.languages[0], file_path="./output.wav")
37
- out = "./output.wav"
38
  return out
39
 
40
  #def try2():
 
33
  # Text to speech with a numpy output
34
  #wav = tts.tts("This is a test! This is also a test!!", speaker=tts.speakers[0], language=tts.languages[0])
35
  # Text to speech to a file
36
+ tts.tts_to_file(text="Hello world!", speaker=tts.speakers[0], language=tts.languages[0], file_path="output.wav")
37
+ out = "output.wav"
38
  return out
39
 
40
  #def try2():