davanstrien HF staff commited on
Commit
4e9b936
1 Parent(s): d77c2f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import requests
5
  from PIL import Image
6
  from io import BytesIO
7
  from qdrant_client import QdrantClient
8
- from transformers import ColQwen2, ColQwen2Processor
9
 
10
  # Initialize ColPali model and processor
11
  model_name = "vidore/colqwen2-v0.1"
 
5
  from PIL import Image
6
  from io import BytesIO
7
  from qdrant_client import QdrantClient
8
+ from colpali_engine.models import ColQwen2, ColQwen2Processor
9
 
10
  # Initialize ColPali model and processor
11
  model_name = "vidore/colqwen2-v0.1"