Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,9 @@ device = "cuda"
|
|
| 70 |
state_dicts = {}
|
| 71 |
|
| 72 |
for item in sdxl_loras_raw:
|
|
|
|
|
|
|
|
|
|
| 73 |
saved_name = hf_hub_download(item["repo"], item["weights"])
|
| 74 |
|
| 75 |
if not saved_name.endswith('.safetensors'):
|
|
|
|
| 70 |
state_dicts = {}
|
| 71 |
|
| 72 |
for item in sdxl_loras_raw:
|
| 73 |
+
if not item["weights"]:
|
| 74 |
+
continue
|
| 75 |
+
|
| 76 |
saved_name = hf_hub_download(item["repo"], item["weights"])
|
| 77 |
|
| 78 |
if not saved_name.endswith('.safetensors'):
|