liuyizhang commited on
Commit
f1a3abf
1 Parent(s): 11e651f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -736,7 +736,7 @@ if __name__ == "__main__":
736
  gsa_gallery = gr.Gallery(label="result images", show_label=True, elem_id="gsa_allery"
737
  ).style(grid=[2], full_width=True, full_height=True, visible=True)
738
  ram_gallery = gr.Gallery(label="Your Result", show_label=True, elem_id="ram_gallery"
739
- ).style(preview=True, columns=5, object_fit="scale-down", visible=False)
740
 
741
  run_button.click(fn=run_anything_task, inputs=[
742
  input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold, iou_threshold, inpaint_mode, mask_source_radio, remove_mode, remove_mask_extend, num_relation], outputs=[gsa_gallery, gsa_gallery], show_progress=True, queue=True)
 
736
  gsa_gallery = gr.Gallery(label="result images", show_label=True, elem_id="gsa_allery"
737
  ).style(grid=[2], full_width=True, full_height=True, visible=True)
738
  ram_gallery = gr.Gallery(label="Your Result", show_label=True, elem_id="ram_gallery"
739
+ ).style(preview=True, object_fit="scale-down", visible=False)
740
 
741
  run_button.click(fn=run_anything_task, inputs=[
742
  input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold, iou_threshold, inpaint_mode, mask_source_radio, remove_mode, remove_mask_extend, num_relation], outputs=[gsa_gallery, gsa_gallery], show_progress=True, queue=True)