Wen-Ding Li commited on
Commit
2b58139
2 Parent(s): e69dd0f 8b7d3f6

Merge branch 'main' of https://huggingface.co/spaces/xu3kev/llm_visual_program_sythensis into main

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -476,10 +476,11 @@ def main():
476
  gr.Markdown("## Select an example logo input or draw your own logo!")
477
  with gr.Row():
478
  with gr.Column(scale=1):
479
- gr.Examples(example_input_images, inputs=canvas)
480
  canvas.render()
481
  submit_button = gr.Button("Generate Programs")
482
- with gr.Column(scale=4):
 
 
483
  output_gallery = gr.Gallery(
484
  label="Generated Images", show_label=True, elem_id="gallery"
485
  , columns=[5], rows=[2], object_fit="contain", height="auto")
 
476
  gr.Markdown("## Select an example logo input or draw your own logo!")
477
  with gr.Row():
478
  with gr.Column(scale=1):
 
479
  canvas.render()
480
  submit_button = gr.Button("Generate Programs")
481
+ with gr.Column(min_width=60):
482
+ gr.Examples(example_input_images, inputs=canvas, label='Example Input')
483
+ with gr.Column(scale=6):
484
  output_gallery = gr.Gallery(
485
  label="Generated Images", show_label=True, elem_id="gallery"
486
  , columns=[5], rows=[2], object_fit="contain", height="auto")