Update app.py
Browse files
app.py
CHANGED
@@ -185,15 +185,15 @@ def search(query: str, ds, images, k, api_key):
|
|
185 |
################################################
|
186 |
with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
187 |
gr.Markdown(
|
188 |
-
"# Multimodal RAG
|
189 |
)
|
190 |
gr.Markdown(
|
191 |
-
"""Demo to test ColQwen2 (ColPali) on PDF documents.
|
192 |
-
ColPali is model implemented from the [ColPali paper](https://arxiv.org/abs/2407.01449).
|
193 |
This demo allows you to upload PDF files and search for the most relevant pages based on your query.
|
194 |
-
Refresh the page if you change documents
|
195 |
-
⚠️ This demo uses a model trained exclusively on A4 PDFs in portrait mode, containing
|
196 |
-
Other models will be released with better robustness towards different languages and document formats
|
197 |
"""
|
198 |
)
|
199 |
with gr.Row():
|
|
|
185 |
################################################
|
186 |
with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
187 |
gr.Markdown(
|
188 |
+
"# Multimodal RAG with ColPali & Gemini 📚"
|
189 |
)
|
190 |
gr.Markdown(
|
191 |
+
"""Demo to test ColQwen2.5 (ColPali) on PDF documents.
|
192 |
+
ColPali is a model implemented from the [ColPali paper](https://arxiv.org/abs/2407.01449).
|
193 |
This demo allows you to upload PDF files and search for the most relevant pages based on your query.
|
194 |
+
Refresh the page if you change documents!
|
195 |
+
⚠️ This demo uses a model trained exclusively on A4 PDFs in portrait mode, containing English text. Performance is expected to drop for other page formats and languages.
|
196 |
+
Other models will be released with better robustness towards different languages and document formats!
|
197 |
"""
|
198 |
)
|
199 |
with gr.Row():
|