Update webui.py
Browse files
webui.py
CHANGED
@@ -6,7 +6,7 @@ from pathlib import Path
|
|
6 |
import separate
|
7 |
|
8 |
def audio_model_inference(file, output_folder, model_path, denoise, margin, chunks, n_fft, dim_t, dim_f):
|
9 |
-
filename = Path(file).split('/')[-1]
|
10 |
# 执行调用
|
11 |
audio_worker = separate.Predictor(args={
|
12 |
"files": Path(file),
|
|
|
6 |
import separate
|
7 |
|
8 |
def audio_model_inference(file, output_folder, model_path, denoise, margin, chunks, n_fft, dim_t, dim_f):
|
9 |
+
filename = str(Path(file)).split('/')[-1]
|
10 |
# 执行调用
|
11 |
audio_worker = separate.Predictor(args={
|
12 |
"files": Path(file),
|