Spaces:
Running
on
L4
Running
on
L4
pin transformers version
Browse files- .gitattributes +1 -0
- __pycache__/main.cpython-310.pyc +0 -0
- backend/__pycache__/colpali.cpython-310.pyc +0 -0
- frontend/__pycache__/app.cpython-310.pyc +0 -0
- frontend/app.py +1 -1
- main.py +1 -1
- requirements.txt +3 -2
- static/full_images/16bc7f7d90746144012cdc6799a9c9cf.jpg +3 -0
- static/sim_maps/-572938818524813734_0_10.png +0 -0
- static/sim_maps/-572938818524813734_0_11.png +0 -0
- static/sim_maps/-572938818524813734_0_12.png +0 -0
- static/sim_maps/-572938818524813734_0_14.png +0 -0
- static/sim_maps/-572938818524813734_0_15.png +0 -0
- static/sim_maps/-572938818524813734_0_16.png +0 -0
- static/sim_maps/-572938818524813734_0_17.png +0 -0
- static/sim_maps/-572938818524813734_0_3.png +0 -0
- static/sim_maps/-572938818524813734_0_4.png +0 -0
- static/sim_maps/-572938818524813734_0_5.png +0 -0
- static/sim_maps/-572938818524813734_0_6.png +0 -0
- static/sim_maps/-572938818524813734_0_7.png +0 -0
- static/sim_maps/-572938818524813734_0_9.png +0 -0
- static/sim_maps/-572938818524813734_1_10.png +0 -0
- static/sim_maps/-572938818524813734_1_11.png +0 -0
- static/sim_maps/-572938818524813734_1_12.png +0 -0
- static/sim_maps/-572938818524813734_1_14.png +0 -0
- static/sim_maps/-572938818524813734_1_15.png +0 -0
- static/sim_maps/-572938818524813734_1_16.png +0 -0
- static/sim_maps/-572938818524813734_1_17.png +0 -0
- static/sim_maps/-572938818524813734_1_3.png +0 -0
- static/sim_maps/-572938818524813734_1_4.png +0 -0
- static/sim_maps/-572938818524813734_1_5.png +0 -0
- static/sim_maps/-572938818524813734_1_6.png +0 -0
- static/sim_maps/-572938818524813734_1_7.png +0 -0
- static/sim_maps/-572938818524813734_1_9.png +0 -0
- static/sim_maps/-572938818524813734_2_10.png +0 -0
- static/sim_maps/-572938818524813734_2_11.png +0 -0
- static/sim_maps/-572938818524813734_2_12.png +0 -0
- static/sim_maps/-572938818524813734_2_14.png +0 -0
- static/sim_maps/-572938818524813734_2_15.png +0 -0
- static/sim_maps/-572938818524813734_2_16.png +0 -0
- static/sim_maps/-572938818524813734_2_17.png +0 -0
- static/sim_maps/-572938818524813734_2_3.png +0 -0
- static/sim_maps/-572938818524813734_2_4.png +0 -0
- static/sim_maps/-572938818524813734_2_5.png +0 -0
- static/sim_maps/-572938818524813734_2_6.png +0 -0
- static/sim_maps/-572938818524813734_2_7.png +0 -0
- static/sim_maps/-572938818524813734_2_9.png +0 -0
.gitattributes
CHANGED
|
@@ -59,3 +59,4 @@ static/img/visual-retrieval-demoapp-arch.png filter=lfs diff=lfs merge=lfs -text
|
|
| 59 |
static/full_images/d40134b18b684815719d4082b0643f0e.jpg filter=lfs diff=lfs merge=lfs -text
|
| 60 |
static/full_images/02b30f947c2530e86fcc6f1617b284cb.jpg filter=lfs diff=lfs merge=lfs -text
|
| 61 |
static/full_images/de672fe4f18da8c00f3035ce6ac1b7b6.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 59 |
static/full_images/d40134b18b684815719d4082b0643f0e.jpg filter=lfs diff=lfs merge=lfs -text
|
| 60 |
static/full_images/02b30f947c2530e86fcc6f1617b284cb.jpg filter=lfs diff=lfs merge=lfs -text
|
| 61 |
static/full_images/de672fe4f18da8c00f3035ce6ac1b7b6.jpg filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
static/full_images/16bc7f7d90746144012cdc6799a9c9cf.jpg filter=lfs diff=lfs merge=lfs -text
|
__pycache__/main.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ
|
|
|
backend/__pycache__/colpali.cpython-310.pyc
CHANGED
|
Binary files a/backend/__pycache__/colpali.cpython-310.pyc and b/backend/__pycache__/colpali.cpython-310.pyc differ
|
|
|
frontend/__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/frontend/__pycache__/app.cpython-310.pyc and b/frontend/__pycache__/app.cpython-310.pyc differ
|
|
|
frontend/app.py
CHANGED
|
@@ -755,7 +755,7 @@ def ChatResult(query_id: str, query: str, doc_ids: Optional[list] = None):
|
|
| 755 |
)
|
| 756 |
|
| 757 |
return Div(
|
| 758 |
-
Div("AI-response (Gemini-2.
|
| 759 |
Div(
|
| 760 |
Div(
|
| 761 |
messages,
|
|
|
|
| 755 |
)
|
| 756 |
|
| 757 |
return Div(
|
| 758 |
+
Div("AI-response (Gemini-2.5)", cls="text-xl font-semibold p-5"),
|
| 759 |
Div(
|
| 760 |
Div(
|
| 761 |
messages,
|
main.py
CHANGED
|
@@ -385,7 +385,7 @@ async def message_generator(query_id: str, query: str, doc_ids: list):
|
|
| 385 |
# yield message with number of images ready
|
| 386 |
yield f"event: message\ndata: Generating response based on {len(images)} images...\n\n"
|
| 387 |
if not images:
|
| 388 |
-
yield "event: message\ndata: Failed to send images to Gemini 2.
|
| 389 |
yield "event: close\ndata: \n\n"
|
| 390 |
return
|
| 391 |
|
|
|
|
| 385 |
# yield message with number of images ready
|
| 386 |
yield f"event: message\ndata: Generating response based on {len(images)} images...\n\n"
|
| 387 |
if not images:
|
| 388 |
+
yield "event: message\ndata: Failed to send images to Gemini 2.5!\n\n"
|
| 389 |
yield "event: close\ndata: \n\n"
|
| 390 |
return
|
| 391 |
|
requirements.txt
CHANGED
|
@@ -465,7 +465,7 @@ thinc==8.2.5
|
|
| 465 |
# via spacy
|
| 466 |
threadpoolctl==3.5.0
|
| 467 |
# via scikit-learn
|
| 468 |
-
tokenizers==0.
|
| 469 |
# via transformers
|
| 470 |
torch==2.8.0
|
| 471 |
# via
|
|
@@ -486,8 +486,9 @@ tqdm==4.66.5
|
|
| 486 |
# sentence-transformers
|
| 487 |
# spacy
|
| 488 |
# transformers
|
| 489 |
-
transformers==4.
|
| 490 |
# via
|
|
|
|
| 491 |
# colpali-engine
|
| 492 |
# peft
|
| 493 |
# sentence-transformers
|
|
|
|
| 465 |
# via spacy
|
| 466 |
threadpoolctl==3.5.0
|
| 467 |
# via scikit-learn
|
| 468 |
+
tokenizers==0.20.3
|
| 469 |
# via transformers
|
| 470 |
torch==2.8.0
|
| 471 |
# via
|
|
|
|
| 486 |
# sentence-transformers
|
| 487 |
# spacy
|
| 488 |
# transformers
|
| 489 |
+
transformers==4.45.0
|
| 490 |
# via
|
| 491 |
+
# visual-retrieval-colpali (pyproject.toml)
|
| 492 |
# colpali-engine
|
| 493 |
# peft
|
| 494 |
# sentence-transformers
|
static/full_images/16bc7f7d90746144012cdc6799a9c9cf.jpg
ADDED
|
Git LFS Details
|
static/sim_maps/-572938818524813734_0_10.png
ADDED
|
static/sim_maps/-572938818524813734_0_11.png
ADDED
|
static/sim_maps/-572938818524813734_0_12.png
ADDED
|
static/sim_maps/-572938818524813734_0_14.png
ADDED
|
static/sim_maps/-572938818524813734_0_15.png
ADDED
|
static/sim_maps/-572938818524813734_0_16.png
ADDED
|
static/sim_maps/-572938818524813734_0_17.png
ADDED
|
static/sim_maps/-572938818524813734_0_3.png
ADDED
|
static/sim_maps/-572938818524813734_0_4.png
ADDED
|
static/sim_maps/-572938818524813734_0_5.png
ADDED
|
static/sim_maps/-572938818524813734_0_6.png
ADDED
|
static/sim_maps/-572938818524813734_0_7.png
ADDED
|
static/sim_maps/-572938818524813734_0_9.png
ADDED
|
static/sim_maps/-572938818524813734_1_10.png
ADDED
|
static/sim_maps/-572938818524813734_1_11.png
ADDED
|
static/sim_maps/-572938818524813734_1_12.png
ADDED
|
static/sim_maps/-572938818524813734_1_14.png
ADDED
|
static/sim_maps/-572938818524813734_1_15.png
ADDED
|
static/sim_maps/-572938818524813734_1_16.png
ADDED
|
static/sim_maps/-572938818524813734_1_17.png
ADDED
|
static/sim_maps/-572938818524813734_1_3.png
ADDED
|
static/sim_maps/-572938818524813734_1_4.png
ADDED
|
static/sim_maps/-572938818524813734_1_5.png
ADDED
|
static/sim_maps/-572938818524813734_1_6.png
ADDED
|
static/sim_maps/-572938818524813734_1_7.png
ADDED
|
static/sim_maps/-572938818524813734_1_9.png
ADDED
|
static/sim_maps/-572938818524813734_2_10.png
ADDED
|
static/sim_maps/-572938818524813734_2_11.png
ADDED
|
static/sim_maps/-572938818524813734_2_12.png
ADDED
|
static/sim_maps/-572938818524813734_2_14.png
ADDED
|
static/sim_maps/-572938818524813734_2_15.png
ADDED
|
static/sim_maps/-572938818524813734_2_16.png
ADDED
|
static/sim_maps/-572938818524813734_2_17.png
ADDED
|
static/sim_maps/-572938818524813734_2_3.png
ADDED
|
static/sim_maps/-572938818524813734_2_4.png
ADDED
|
static/sim_maps/-572938818524813734_2_5.png
ADDED
|
static/sim_maps/-572938818524813734_2_6.png
ADDED
|
static/sim_maps/-572938818524813734_2_7.png
ADDED
|
static/sim_maps/-572938818524813734_2_9.png
ADDED
|