Spaces:
Sleeping
Sleeping
HUANG-Stephanie
commited on
Commit
•
ae91f97
1
Parent(s):
1e2bfed
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ from pdf2image import convert_from_bytes
|
|
13 |
from PIL import Image
|
14 |
from torch.utils.data import DataLoader
|
15 |
from transformers import AutoProcessor
|
|
|
16 |
|
17 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), './colpali-main')))
|
18 |
|
|
|
13 |
from PIL import Image
|
14 |
from torch.utils.data import DataLoader
|
15 |
from transformers import AutoProcessor
|
16 |
+
import base64
|
17 |
|
18 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), './colpali-main')))
|
19 |
|