Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def split_audio(audio_file):
|
|
29 |
def filter_audio(segments):
|
30 |
filtered_dir = "temp-out"
|
31 |
os.makedirs(filtered_dir, exist_ok=True)
|
32 |
-
os.system(f"deepFilter -a
|
33 |
os.system(f"rm {segments.replace('%03d.wav', '')}*.wav")
|
34 |
return filtered_dir
|
35 |
|
|
|
29 |
def filter_audio(segments):
|
30 |
filtered_dir = "temp-out"
|
31 |
os.makedirs(filtered_dir, exist_ok=True)
|
32 |
+
os.system(f"deepFilter -a 25 -o {filtered_dir} {segments.replace('%03d.wav', '')}*.wav")
|
33 |
os.system(f"rm {segments.replace('%03d.wav', '')}*.wav")
|
34 |
return filtered_dir
|
35 |
|