Spaces:
Running
Running
Eddycrack864
commited on
Commit
•
996e98c
1
Parent(s):
3256ef1
Update webUI.py
Browse files
webUI.py
CHANGED
@@ -229,7 +229,7 @@ import os
|
|
229 |
import wget
|
230 |
|
231 |
for category, models in model_dict.items():
|
232 |
-
if category in ['VR Arc', 'MDX-Net'
|
233 |
if category == 'VR Arc':
|
234 |
model_path = 'models/VR_Models'
|
235 |
elif category == 'MDX-Net':
|
@@ -240,7 +240,5 @@ for category, models in model_dict.items():
|
|
240 |
|
241 |
print("Models downloaded successfully.")
|
242 |
|
243 |
-
wget.download("https://huggingface.co/Eddycrack864/UVR5-MDX-NET-VIP-MODELS/resolve/main/UVR-MDX-NET_Main_340.onnx", out="UVR5/models/MDX_Net_Models/UVR-MDX-NET_Main_340.onnx")
|
244 |
-
|
245 |
webui = UVRWebUI(uvr, online_data_path='models/download_checks.json')
|
246 |
webui.launch()
|
|
|
229 |
import wget
|
230 |
|
231 |
for category, models in model_dict.items():
|
232 |
+
if category in ['VR Arc', 'MDX-Net']:
|
233 |
if category == 'VR Arc':
|
234 |
model_path = 'models/VR_Models'
|
235 |
elif category == 'MDX-Net':
|
|
|
240 |
|
241 |
print("Models downloaded successfully.")
|
242 |
|
|
|
|
|
243 |
webui = UVRWebUI(uvr, online_data_path='models/download_checks.json')
|
244 |
webui.launch()
|