Spaces:
Paused
Paused
Commit ·
386ef2a
1
Parent(s): 33085cc
fix examples
Browse filesFiles changed (2)
- app.py+4-2
- separate.py+1-1
31 unmodified lines323334353536373839404142424344452 unmodified lines484950515253545531 unmodified lines
from separate import get_file, load_audio, load_model, model_list
examples = [wav_files = [ "yesterday-once-more-Carpenters.mp3", "das-beste-Silbermond.mp3", "hotel-in-california.mp3", "起风了.mp3",]
for name in examples:for name in wav_files: filename = get_file( "csukuangfj/spleeter-torch", name,2 unmodified lines
shutil.copyfile(filename, name)
examples = [(model_list[0], w) for w in wav_files]
def build_html_output(s: str, style: str = "result_item_success"): return f"""119 unmodified lines120121122123124125125126127128119 unmodified lines
model_list = [ "sherpa-onnx-spleeter-2stems", "sherpa-onnx-spleeter-2stems-fp16", "sherpa-onnx-spleeter-2stems-int8", "sherpa-onnx-spleeter-2stems", "UVR-MDX-NET-Inst_1.onnx", "UVR-MDX-NET-Inst_2.onnx", "UVR-MDX-NET-Inst_3.onnx",app.py+4-2
separate.py+1-1