Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,9 @@ async def text_to_speech_edge(text, language_code):
|
|
20 |
|
21 |
new_temp_path = tmp_path.replace(".mp3", ".wav")
|
22 |
(
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
)
|
27 |
return new_temp_path
|
28 |
|
|
|
20 |
|
21 |
new_temp_path = tmp_path.replace(".mp3", ".wav")
|
22 |
(
|
23 |
+
ffmpeg.input(tmp_path)
|
24 |
+
.output(new_temp_path)
|
25 |
+
.run()
|
26 |
)
|
27 |
return new_temp_path
|
28 |
|