nuwandaa commited on
Commit
46bdce3
·
1 Parent(s): 97e39c4

Canny output

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -221,6 +221,15 @@ with block:
221
  line_gallery = gr.Gallery(label='Lineart Output', show_label=True, elem_id="gallery", columns=[1], rows=[1], height='auto')
222
  with gr.Column(scale = 4):
223
  line_image_gallery = gr.Gallery(label='Result for Lineart', show_label=True, elem_id="gallery", columns=[4], rows=[1], height='auto')
 
 
 
 
 
 
 
 
 
224
 
225
  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]
226
  run_button.click(fn=process, inputs=ips, outputs=[image_gallery, contour_gallery, line_image_gallery, line_gallery])
 
221
  line_gallery = gr.Gallery(label='Lineart Output', show_label=True, elem_id="gallery", columns=[1], rows=[1], height='auto')
222
  with gr.Column(scale = 4):
223
  line_image_gallery = gr.Gallery(label='Result for Lineart', show_label=True, elem_id="gallery", columns=[4], rows=[1], height='auto')
224
+ with gr.Row():
225
+ gr.Markdown("### Results for Canny")
226
+ with gr.Row():
227
+ with gr.Blocks():
228
+ with gr.Row():
229
+ with gr.Column(scale = 1):
230
+ line_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
+ line_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])