Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
dd13e97
1
Parent(s):
03556ac
Update app.py
Browse files
app.py
CHANGED
@@ -327,7 +327,7 @@ def run_lora(face_image, prompt, negative, lora_scale, selected_state, face_stre
|
|
327 |
|
328 |
st = time.time()
|
329 |
|
330 |
-
if(custom_lora_path):
|
331 |
prompt = f"{prompt} {custom_lora[1]}"
|
332 |
else:
|
333 |
for lora_list in lora_defaults:
|
|
|
327 |
|
328 |
st = time.time()
|
329 |
|
330 |
+
if(custom_lora_path and custom_lora[1]):
|
331 |
prompt = f"{prompt} {custom_lora[1]}"
|
332 |
else:
|
333 |
for lora_list in lora_defaults:
|