Spaces:
Runtime error
Runtime error
Commit
·
3603dbb
1
Parent(s):
c230468
Update app.py
Browse files
app.py
CHANGED
@@ -150,8 +150,8 @@ def shuffle_lora(sdxl_loras, selected_lora=None, chosen_prompt=""):
|
|
150 |
lora_title = sdxl_loras[random_lora_index]["title"]
|
151 |
lora_desc = f"""#### LoRA used to edit this image:
|
152 |
### {lora_title}
|
153 |
-
###### prompt: {spooky_concept}
|
154 |
by `{lora_repo.split('/')[0]}`
|
|
|
155 |
"""
|
156 |
lora_image = sdxl_loras[random_lora_index]["image"]
|
157 |
|
@@ -177,8 +177,8 @@ def select_lora(selected_state: gr.SelectData, sdxl_loras, chosen_prompt):
|
|
177 |
lora_title = sdxl_loras[random_lora_index]["title"]
|
178 |
lora_desc = f"""#### LoRA used to edit this image:
|
179 |
### {lora_title}
|
180 |
-
###### prompt: {spooky_concept}
|
181 |
by `{lora_repo.split('/')[0]}`
|
|
|
182 |
"""
|
183 |
lora_image = sdxl_loras[random_lora_index]["image"]
|
184 |
|
|
|
150 |
lora_title = sdxl_loras[random_lora_index]["title"]
|
151 |
lora_desc = f"""#### LoRA used to edit this image:
|
152 |
### {lora_title}
|
|
|
153 |
by `{lora_repo.split('/')[0]}`
|
154 |
+
###### prompt: {spooky_concept}
|
155 |
"""
|
156 |
lora_image = sdxl_loras[random_lora_index]["image"]
|
157 |
|
|
|
177 |
lora_title = sdxl_loras[random_lora_index]["title"]
|
178 |
lora_desc = f"""#### LoRA used to edit this image:
|
179 |
### {lora_title}
|
|
|
180 |
by `{lora_repo.split('/')[0]}`
|
181 |
+
###### prompt: {spooky_concept}
|
182 |
"""
|
183 |
lora_image = sdxl_loras[random_lora_index]["image"]
|
184 |
|