rfmantoan commited on
Commit
9a98f07
1 Parent(s): 70f4a27

Update share and column

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=2)
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=2)
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)