Spaces:
Runtime error
Runtime error
Add a description for the app.
Browse files
app.py
CHANGED
@@ -154,6 +154,14 @@ def get_similar_images(caption, brightness, num_items):
|
|
154 |
# Gradio interface
|
155 |
with gr.Blocks() as demo:
|
156 |
gr.Markdown("# Image Retrieval using 4M-21: An Any-to-Any Vision Model")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
with gr.Row():
|
158 |
with gr.Column(scale=1):
|
159 |
caption = gr.Textbox(
|
|
|
154 |
# Gradio interface
|
155 |
with gr.Blocks() as demo:
|
156 |
gr.Markdown("# Image Retrieval using 4M-21: An Any-to-Any Vision Model")
|
157 |
+
|
158 |
+
gr.Markdown("""
|
159 |
+
This app demonstrates image retrieval using the 4M-21 model, an any-to-any vision model.
|
160 |
+
Enter a caption description, adjust the brightness, and specify the number of items to retrieve similar images.
|
161 |
+
|
162 |
+
The retrieval dataset for this demo is available at: https://huggingface.co/datasets/aroraaman/4m-21-demo
|
163 |
+
""")
|
164 |
+
|
165 |
with gr.Row():
|
166 |
with gr.Column(scale=1):
|
167 |
caption = gr.Textbox(
|