mawady-uni commited on
Commit
a671e6d
·
verified ·
1 Parent(s): c9b3c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -327,8 +327,8 @@ if __name__ == "__main__":
327
 
328
  with gr.Column():
329
  gallery = gr.Gallery(
330
- label="Generated images", show_label=False, elem_id="gallery"
331
- ).style(preview=True, grid=2, object_fit="scale-down")
332
 
333
  run_button.click(fn=run_grounded_sam, inputs=[
334
  input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold, iou_threshold, inpaint_mode], outputs=gallery)
 
327
 
328
  with gr.Column():
329
  gallery = gr.Gallery(
330
+ label="Generated images", show_label=False, elem_id="gallery",
331
+ preview=True, object_fit="scale-down")
332
 
333
  run_button.click(fn=run_grounded_sam, inputs=[
334
  input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold, iou_threshold, inpaint_mode], outputs=gallery)