Spaces:
Runtime error
Runtime error
Update mdx_processing_script.py
Browse files- mdx_processing_script.py +9 -2
mdx_processing_script.py
CHANGED
@@ -18,14 +18,21 @@ model_params = "https://raw.githubusercontent.com/TRvlvr/application_data/main/m
|
|
18 |
_Models = "https://github.com/TRvlvr/model_repo/releases/download/all_public_uvr_models/"
|
19 |
# _models = "https://pastebin.com/raw/jBzYB8vz"
|
20 |
_models = "https://raw.githubusercontent.com/TRvlvr/application_data/main/filelists/download_checks.json"
|
21 |
-
stem_naming = "https://pastebin.com/raw/mpH4hRcF"
|
22 |
|
23 |
file_folder = "Colab-for-MDX_B"
|
24 |
model_ids = requests.get(_models).json()
|
25 |
model_ids = model_ids["mdx_download_list"].values()
|
26 |
#print(model_ids)
|
27 |
model_params = requests.get(model_params).json()
|
28 |
-
stem_naming = requests.get(stem_naming).json()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
os.makedirs("tmp_models", exist_ok=True)
|
31 |
|
|
|
18 |
_Models = "https://github.com/TRvlvr/model_repo/releases/download/all_public_uvr_models/"
|
19 |
# _models = "https://pastebin.com/raw/jBzYB8vz"
|
20 |
_models = "https://raw.githubusercontent.com/TRvlvr/application_data/main/filelists/download_checks.json"
|
21 |
+
#stem_naming = "https://pastebin.com/raw/mpH4hRcF"
|
22 |
|
23 |
file_folder = "Colab-for-MDX_B"
|
24 |
model_ids = requests.get(_models).json()
|
25 |
model_ids = model_ids["mdx_download_list"].values()
|
26 |
#print(model_ids)
|
27 |
model_params = requests.get(model_params).json()
|
28 |
+
#stem_naming = requests.get(stem_naming).json()
|
29 |
+
stem_naming = {
|
30 |
+
"Vocals": "Instrumental",
|
31 |
+
"Other": "Instruments",
|
32 |
+
"Instrumental": "Vocals",
|
33 |
+
"Drums": "Drumless",
|
34 |
+
"Bass": "Bassless"
|
35 |
+
}
|
36 |
|
37 |
os.makedirs("tmp_models", exist_ok=True)
|
38 |
|