Spaces:
Paused
Paused
Commit
•
523ae5e
1
Parent(s):
b96f076
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ def run_lora(face_image, prompt, negative, lora_scale, selected_state, face_stre
|
|
213 |
|
214 |
for lora_list in lora_defaults:
|
215 |
if lora_list["model"] == sdxl_loras[selected_state.index]["repo"]:
|
216 |
-
prompt_full = lora_list
|
217 |
if(prompt_full):
|
218 |
prompt = prompt_full.replace("<subject>", prompt)
|
219 |
|
|
|
213 |
|
214 |
for lora_list in lora_defaults:
|
215 |
if lora_list["model"] == sdxl_loras[selected_state.index]["repo"]:
|
216 |
+
prompt_full = lora_list.get("prompt", None)
|
217 |
if(prompt_full):
|
218 |
prompt = prompt_full.replace("<subject>", prompt)
|
219 |
|