Spaces:
Running
Running
Update app.py
Browse files
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="
|
37 |
-
out = "
|
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():
|