Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
·
b77b174
1
Parent(s):
d271579
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ 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"]
|
@@ -177,7 +177,7 @@ 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"]
|
|
|
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"]
|
|
|
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"]
|