Spaces:
Runtime error
Runtime error
Corrected Paths
Browse files28 unmodified lines29303132323334359 unmodified lines454647484849505128 unmodified lines
# Collecting all file paths files = [f"./out/htdemucs_6s/test/{stem}.wav" for stem in ["vocals", "bass", "drums", "other", "piano", "guitar"]] files.extend([primary_stem_path, secondary_stem_path]) files.extend([secondary_stem_path,primary_stem_path ])
# Check if files exist existing_files = [file for file in files if os.path.isfile(file)]9 unmodified linesgr.Interface( inference, gr.components.Audio(type="numpy", label="Input"), [gr.components.Audio(type="filepath", label=stem) for stem in ["Full Vocals", "Lead Vocals", "Chorus", "Bass", "Drums", "Other", "Piano", "Guitar"]], [gr.components.Audio(type="filepath", label=stem) for stem in ["Full Vocals","Bass", "Drums", "Other", "Piano", "Guitar", "Lead Vocals", "Chorus" ]], title=title, description=description,).launch()app.py+2-2