Spaces:
Runtime error
Runtime error
Update share and column
Browse files
app.py
CHANGED
@@ -53,13 +53,13 @@ if __name__ == "__main__":
|
|
53 |
with gr.Column():
|
54 |
gr.Markdown("#### FashionCLIP Results")
|
55 |
# Set the gallery to display 4 images per row (scrollable)
|
56 |
-
fclip_output_images = gr.Gallery(label="FashionCLIP Images", columns=
|
57 |
fclip_output_results = gr.Dataframe(label="FashionCLIP Search Results")
|
58 |
|
59 |
with gr.Column():
|
60 |
gr.Markdown("#### FashionSigLip Results")
|
61 |
# Set the gallery to display 4 images per row (scrollable)
|
62 |
-
siglip_output_images = gr.Gallery(label="FashionSigLIP Images", columns=
|
63 |
siglip_output_results = gr.Dataframe(label="FashionSigLIP Search Results")
|
64 |
|
65 |
# Update input fields based on query type
|
@@ -88,4 +88,4 @@ if __name__ == "__main__":
|
|
88 |
)
|
89 |
|
90 |
# Launch the Gradio app
|
91 |
-
demo.launch()
|
|
|
53 |
with gr.Column():
|
54 |
gr.Markdown("#### FashionCLIP Results")
|
55 |
# Set the gallery to display 4 images per row (scrollable)
|
56 |
+
fclip_output_images = gr.Gallery(label="FashionCLIP Images", columns=5)
|
57 |
fclip_output_results = gr.Dataframe(label="FashionCLIP Search Results")
|
58 |
|
59 |
with gr.Column():
|
60 |
gr.Markdown("#### FashionSigLip Results")
|
61 |
# Set the gallery to display 4 images per row (scrollable)
|
62 |
+
siglip_output_images = gr.Gallery(label="FashionSigLIP Images", columns=5)
|
63 |
siglip_output_results = gr.Dataframe(label="FashionSigLIP Search Results")
|
64 |
|
65 |
# Update input fields based on query type
|
|
|
88 |
)
|
89 |
|
90 |
# Launch the Gradio app
|
91 |
+
demo.launch(share=True)
|