Spaces:
Paused
Paused
Update app_srt.py
Browse files- app_srt.py +1 -1
app_srt.py
CHANGED
@@ -552,7 +552,7 @@ def convert_from_srt(filename, video_full, language, split_model, multilingual):
|
|
552 |
else:
|
553 |
pre_fun = pre_fun_hp5
|
554 |
|
555 |
-
filename =
|
556 |
pre_fun._path_audio_("audio_full.wav", f"./denoised/{split_model}/{filename}/", f"./denoised/{split_model}/{filename}/", "wav")
|
557 |
if os.path.isdir("output"):
|
558 |
shutil.rmtree("output")
|
|
|
552 |
else:
|
553 |
pre_fun = pre_fun_hp5
|
554 |
|
555 |
+
filename = "output"
|
556 |
pre_fun._path_audio_("audio_full.wav", f"./denoised/{split_model}/{filename}/", f"./denoised/{split_model}/{filename}/", "wav")
|
557 |
if os.path.isdir("output"):
|
558 |
shutil.rmtree("output")
|