Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
291ae92
1
Parent(s):
d6ec0f9
update app.py
Browse files
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", visible=True
|
737 |
).style(grid=[2], full_width=True, full_height=True)
|
738 |
ram_gallery = gr.Gallery(label="Your Result", show_label=True, elem_id="ram_gallery", visible=False
|
739 |
-
).style(preview=True,
|
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", visible=True
|
737 |
).style(grid=[2], full_width=True, full_height=True)
|
738 |
ram_gallery = gr.Gallery(label="Your Result", show_label=True, elem_id="ram_gallery", visible=False
|
739 |
+
).style(preview=True, columns=5, object_fit="scale-down")
|
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)
|