multimodalart HF staff commited on
Commit
dd13e97
1 Parent(s): 03556ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: