Spaces:
Runtime error
Runtime error
Commit
•
46fe2b0
1
Parent(s):
11f2ff9
Update app.py
Browse files
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,
|