Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def text_to_speech(text):
|
|
104 |
|
105 |
# Save audio as a .wav file
|
106 |
output_path = "output.wav"
|
107 |
-
|
108 |
|
109 |
return output_path
|
110 |
|
|
|
104 |
|
105 |
# Save audio as a .wav file
|
106 |
output_path = "output.wav"
|
107 |
+
sf.write(output_path, audio_output, 16000, 'PCM_16')
|
108 |
|
109 |
return output_path
|
110 |
|