Spaces:
Runtime error
Runtime error
Commit
•
ceee808
1
Parent(s):
46fe2b0
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 if image else "
|
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 "/home/user/app/custom.png",
|
366 |
"title": title,
|
367 |
"repo": repo,
|
368 |
"weights": path,
|