primerz commited on
Commit
8dbbbe5
·
verified ·
1 Parent(s): e5093b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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'):