Spaces:
Paused
Paused
guardiancc
commited on
Update app.py
Browse files
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, "
|
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)
|