Spaces:
Running
on
Zero
Running
on
Zero
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,
|