guardiancc commited on
Commit
9b8fd02
·
verified ·
1 Parent(s): cb748e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1583,7 +1583,7 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
1583
  final_image = generate_canny(image_input, "canny")
1584
  yield final_image, seed, gr.update(visible=False)
1585
  elif(useSobel):
1586
- final_image = generate_canny(image_input, "canny")
1587
  yield final_image, seed, gr.update(visible=False)
1588
  else:
1589
  final_image = generate_image_to_image(prompt_mash, image_input, image_strength, steps, cfg_scale, width, height, lora_scale, seed)
 
1583
  final_image = generate_canny(image_input, "canny")
1584
  yield final_image, seed, gr.update(visible=False)
1585
  elif(useSobel):
1586
+ final_image = generate_canny(image_input, "sobel")
1587
  yield final_image, seed, gr.update(visible=False)
1588
  else:
1589
  final_image = generate_image_to_image(prompt_mash, image_input, image_strength, steps, cfg_scale, width, height, lora_scale, seed)