Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def tts_get_voices_list():
|
|
25 |
|
26 |
return voices
|
27 |
|
28 |
-
def infer(txt,
|
29 |
tts = asyncio.run(edge_tts.Communicate(txt, voice).save('audio.mp3'))
|
30 |
audio, sr = librosa.load('audio.mp3', sr=16000, mono=True)
|
31 |
raw_path = io.BytesIO()
|
|
|
25 |
|
26 |
return voices
|
27 |
|
28 |
+
def infer(txt, voice):
|
29 |
tts = asyncio.run(edge_tts.Communicate(txt, voice).save('audio.mp3'))
|
30 |
audio, sr = librosa.load('audio.mp3', sr=16000, mono=True)
|
31 |
raw_path = io.BytesIO()
|