Fix wrong outputs
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ with block:
|
|
232 |
canny_image_gallery = gr.Gallery(label='Result for Canny', show_label=True, elem_id="gallery", columns=[4], rows=[1], height='auto')
|
233 |
|
234 |
ips = [style_image, content_image, prompt, num_samples, image_resolution, condition_scale, style_scale, ddim_steps, guidance_scale, seed, a_prompt, n_prompt, btn1, Contour_Threshold]
|
235 |
-
run_button.click(fn=process, inputs=ips, outputs=[image_gallery, contour_gallery, line_image_gallery, line_gallery,
|
236 |
|
237 |
|
238 |
block.launch(server_name='0.0.0.0')
|
|
|
232 |
canny_image_gallery = gr.Gallery(label='Result for Canny', show_label=True, elem_id="gallery", columns=[4], rows=[1], height='auto')
|
233 |
|
234 |
ips = [style_image, content_image, prompt, num_samples, image_resolution, condition_scale, style_scale, ddim_steps, guidance_scale, seed, a_prompt, n_prompt, btn1, Contour_Threshold]
|
235 |
+
run_button.click(fn=process, inputs=ips, outputs=[image_gallery, contour_gallery, line_image_gallery, line_gallery, canny_image_gallery, canny_gallery])
|
236 |
|
237 |
|
238 |
block.launch(server_name='0.0.0.0')
|