Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,9 +81,9 @@ def analyze(path):
|
|
| 81 |
|
| 82 |
# Remove the extension from the file name
|
| 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 file_path in files:
|
| 88 |
file_path = os.path.join(root, file_path)
|
| 89 |
print(file_path)
|
|
|
|
| 81 |
|
| 82 |
# Remove the extension from the file name
|
| 83 |
file_name_without_extension = os.path.splitext(file_name)[0]
|
| 84 |
+
print(file_name_without_extension)
|
| 85 |
bass_path, drums_path, other_path, vocals_path = None, None, None, None
|
| 86 |
+
for root, dirs, files in os.walk(f"./demix/htdemucs/{file_name_without_extension}"):
|
| 87 |
for file_path in files:
|
| 88 |
file_path = os.path.join(root, file_path)
|
| 89 |
print(file_path)
|