Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
|
3 |
import gradio as gr
|
4 |
import torch
|
@@ -8,7 +9,6 @@ from colpali_engine.utils.colpali_processing_utils import (
|
|
8 |
process_images,
|
9 |
process_queries,
|
10 |
)
|
11 |
-
import spaces
|
12 |
from pdf2image import convert_from_path
|
13 |
from PIL import Image
|
14 |
from torch.utils.data import DataLoader
|
|
|
1 |
import os
|
2 |
+
import spaces
|
3 |
|
4 |
import gradio as gr
|
5 |
import torch
|
|
|
9 |
process_images,
|
10 |
process_queries,
|
11 |
)
|
|
|
12 |
from pdf2image import convert_from_path
|
13 |
from PIL import Image
|
14 |
from torch.utils.data import DataLoader
|