Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def analyze(path):
|
|
83 |
file_name_without_extension = os.path.splitext(file_name)[0]
|
84 |
|
85 |
bass_path, drums_path, other_path, vocals_path = None, None, None, None
|
86 |
-
for root, dirs, files in os.walk("./demix"):
|
87 |
-
for
|
88 |
file_path = os.path.join(root, file_name)
|
89 |
print(file_path)
|
90 |
if "bass.wav" in file_path:
|
|
|
83 |
file_name_without_extension = os.path.splitext(file_name)[0]
|
84 |
|
85 |
bass_path, drums_path, other_path, vocals_path = None, None, None, None
|
86 |
+
for root, dirs, files in os.walk(f"./demix/demucs/{file_name_without_extension}"):
|
87 |
+
for file_path in files:
|
88 |
file_path = os.path.join(root, file_name)
|
89 |
print(file_path)
|
90 |
if "bass.wav" in file_path:
|