Update outputs
Browse files
app.py
CHANGED
@@ -227,12 +227,12 @@ with block:
|
|
227 |
with gr.Blocks():
|
228 |
with gr.Row():
|
229 |
with gr.Column(scale = 1):
|
230 |
-
|
231 |
with gr.Column(scale = 4):
|
232 |
-
|
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')
|
|
|
227 |
with gr.Blocks():
|
228 |
with gr.Row():
|
229 |
with gr.Column(scale = 1):
|
230 |
+
canny_gallery = gr.Gallery(label='Canny Output', show_label=True, elem_id="gallery", columns=[1], rows=[1], height='auto')
|
231 |
with gr.Column(scale = 4):
|
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_gallery, canny_image_gallery])
|
236 |
|
237 |
|
238 |
block.launch(server_name='0.0.0.0')
|