multimodalart HF staff commited on
Commit
46fe2b0
1 Parent(s): 11f2ff9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -362,7 +362,7 @@ def add_custom_lora(custom_lora, selected_indices):
362
  if(repo.endswith(".safetensors") and repo.startswith("http")):
363
  repo = download_file(repo)
364
  new_item = {
365
- "image": image,
366
  "title": title,
367
  "repo": repo,
368
  "weights": path,
 
362
  if(repo.endswith(".safetensors") and repo.startswith("http")):
363
  repo = download_file(repo)
364
  new_item = {
365
+ "image": image if image else "https://i.imgur.com/ezGiH8W.png",
366
  "title": title,
367
  "repo": repo,
368
  "weights": path,