AdrienB134 commited on
Commit
fc00b82
โ€ข
1 Parent(s): caf5c98
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -207,11 +207,7 @@ def get_example():
207
 
208
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
209
  gr.Markdown("# ColPali + Idefics3: Efficient Document Retrieval with Vision Language Models ๐Ÿ“š")
210
- with gr.Row():
211
- gr.Examples(
212
- examples=get_example(),
213
- inputs=[file, query],
214
- )
215
 
216
  with gr.Row():
217
  with gr.Column(scale=2):
@@ -230,7 +226,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
230
  query = gr.Textbox(placeholder="Enter your query here", label="Query")
231
  k = gr.Slider(minimum=1, maximum=10, step=1, label="Number of results", value=5)
232
  search_button = gr.Button("๐Ÿ” Search", variant="primary")
233
-
 
 
 
 
 
234
 
235
  # Define the actions
236
 
 
207
 
208
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
209
  gr.Markdown("# ColPali + Idefics3: Efficient Document Retrieval with Vision Language Models ๐Ÿ“š")
210
+
 
 
 
 
211
 
212
  with gr.Row():
213
  with gr.Column(scale=2):
 
226
  query = gr.Textbox(placeholder="Enter your query here", label="Query")
227
  k = gr.Slider(minimum=1, maximum=10, step=1, label="Number of results", value=5)
228
  search_button = gr.Button("๐Ÿ” Search", variant="primary")
229
+
230
+ with gr.Row():
231
+ gr.Examples(
232
+ examples=get_example(),
233
+ inputs=[file, query],
234
+ )
235
 
236
  # Define the actions
237