Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def convert_wav_to_mp3(wav_file):
|
|
| 84 |
os.rename(wav_file.name, renamed_input_path)
|
| 85 |
command = ["ffmpeg", "-i", renamed_input_path, "-acodec", "libmp3lame", "-y", output_path_mp3]
|
| 86 |
os.system(" ".join(command))
|
| 87 |
-
print(output_path_mp3)
|
| 88 |
return output_path_mp3
|
| 89 |
|
| 90 |
def tts_generator(text, sdp_ratio, noise_scale, noise_scale_w, length_scale, model):
|
|
|
|
| 84 |
os.rename(wav_file.name, renamed_input_path)
|
| 85 |
command = ["ffmpeg", "-i", renamed_input_path, "-acodec", "libmp3lame", "-y", output_path_mp3]
|
| 86 |
os.system(" ".join(command))
|
| 87 |
+
print(str(output_path_mp3))
|
| 88 |
return output_path_mp3
|
| 89 |
|
| 90 |
def tts_generator(text, sdp_ratio, noise_scale, noise_scale_w, length_scale, model):
|