Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def split_wav_or_mp3_file(audiofileuploader, mindur2, maxdur2, name_for_split_fi
|
|
34 |
os.remove(file2)
|
35 |
return f"File split successfully!\nCheck below for zipped files.\nAmount created: {len(audio_files)}", zip_file_name2
|
36 |
|
37 |
-
def mp4_to_wav_or_mp3(mp4fileuploader, file_format):
|
38 |
if mp4fileuploader == None:
|
39 |
raise gr.Error("Input cannot be empty!")
|
40 |
else:
|
|
|
34 |
os.remove(file2)
|
35 |
return f"File split successfully!\nCheck below for zipped files.\nAmount created: {len(audio_files)}", zip_file_name2
|
36 |
|
37 |
+
def mp4_to_wav_or_mp3(mp4fileuploader, file_format, random_filename):
|
38 |
if mp4fileuploader == None:
|
39 |
raise gr.Error("Input cannot be empty!")
|
40 |
else:
|