Spaces:
Configuration error
Configuration error
liuyizhang
commited on
Commit
•
79eb367
1
Parent(s):
e7ef33d
update app.py
Browse files
app.py
CHANGED
@@ -727,8 +727,8 @@ if __name__ == "__main__":
|
|
727 |
# gsa_gallery = gr.Gallery(
|
728 |
# label="result images", show_label=True, elem_id="gsa_gallery"
|
729 |
# ).style(grid=[2], full_width=True, full_height=True)
|
730 |
-
gallery = gr.Gallery(label="result images", show_label=True, elem_id="gallery"
|
731 |
-
.style(preview=True, columns=5, object_fit="scale-down", full_width=True, full_height=True)
|
732 |
|
733 |
run_button.click(fn=run_anything_task, inputs=[
|
734 |
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=[gallery, gallery])
|
|
|
727 |
# gsa_gallery = gr.Gallery(
|
728 |
# label="result images", show_label=True, elem_id="gsa_gallery"
|
729 |
# ).style(grid=[2], full_width=True, full_height=True)
|
730 |
+
gallery = gr.Gallery(label="result images", show_label=True, elem_id="gallery"
|
731 |
+
).style(preview=True, columns=5, object_fit="scale-down", full_width=True, full_height=True)
|
732 |
|
733 |
run_button.click(fn=run_anything_task, inputs=[
|
734 |
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=[gallery, gallery])
|