Spaces:
Runtime error
Runtime error
Corrected Paths
Browse files28 unmodified lines293031323334359 unmodified lines4546474849505128 unmodified lines# Collecting all file pathsfiles = [f"./out/htdemucs_6s/test/{stem}.wav" for stem in ["vocals", "bass", "drums", "other", "piano", "guitar"]]files.extend([primary_stem_path, secondary_stem_path])# Check if files existexisting_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"]],title=title,description=description,).launch()28 unmodified lines293031323334359 unmodified lines4546474849505128 unmodified lines# Collecting all file pathsfiles = [f"./out/htdemucs_6s/test/{stem}.wav" for stem in ["vocals", "bass", "drums", "other", "piano", "guitar"]]files.extend([secondary_stem_path,primary_stem_path ])# Check if files existexisting_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","Bass", "Drums", "Other", "Piano", "Guitar", "Lead Vocals", "Chorus" ]],title=title,description=description,).launch()
app.py+2-2