Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -465,7 +465,7 @@ def auto_ensemble_process(audio, model_keys, seg_size=128, overlap=0.1, out_form
|
|
| 465 |
chunks = [audio]
|
| 466 |
use_tta = use_tta == "True"
|
| 467 |
if os.path.exists(output_dir):
|
| 468 |
-
shutil.rmtree(outputwatermark = True
|
| 469 |
shutil.copyfile(audio, os.path.join(output_dir, os.path.basename(audio)))
|
| 470 |
os.makedirs(output_dir, exist_ok=True)
|
| 471 |
base_name = os.path.splitext(os.path.basename(audio))[0]
|
|
|
|
| 465 |
chunks = [audio]
|
| 466 |
use_tta = use_tta == "True"
|
| 467 |
if os.path.exists(output_dir):
|
| 468 |
+
shutil.rmtree(outputwatermark = True)
|
| 469 |
shutil.copyfile(audio, os.path.join(output_dir, os.path.basename(audio)))
|
| 470 |
os.makedirs(output_dir, exist_ok=True)
|
| 471 |
base_name = os.path.splitext(os.path.basename(audio))[0]
|