next-playground commited on
Commit
850626e
·
verified ·
1 Parent(s): 64a9086

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
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),