ztor2 commited on
Commit
911d3bd
1 Parent(s): da9645e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -102,9 +102,9 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
102
  gallery = gr.Gallery(label="Retrieved images",
103
  show_label=True, preview=True,
104
  object_fit="contain",
105
- value=[(sample_1, 'sample image'),
106
- (sample_2, 'sample image'),
107
- (sample_3, 'sample image')])
108
  query = gr.Textbox(label="Enter query")
109
  button = gr.Button(value="Retrieve images")
110
  button.click(img_retrieve, [query, doc_label], gallery)
 
102
  gallery = gr.Gallery(label="Retrieved images",
103
  show_label=True, preview=True,
104
  object_fit="contain",
105
+ value=[(sample_1, 'sample image 1'),
106
+ (sample_2, 'sample image 2'),
107
+ (sample_3, 'sample image 3')])
108
  query = gr.Textbox(label="Enter query")
109
  button = gr.Button(value="Retrieve images")
110
  button.click(img_retrieve, [query, doc_label], gallery)