Spaces:
Sleeping
Sleeping
update
Browse files- models/vsa_model.py +2 -1
models/vsa_model.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
# https://github.com/IDEA-Research/GroundingDINO
|
7 |
# https://github.com/InternLM/MindSearch
|
8 |
# --------------------------------------------------------
|
9 |
-
|
10 |
import os
|
11 |
import copy
|
12 |
|
@@ -303,6 +303,7 @@ class VisionSearchAssistant:
|
|
303 |
)
|
304 |
self.use_correlate = True
|
305 |
|
|
|
306 |
def __call__(
|
307 |
self,
|
308 |
image: Union[str, Image.Image, np.ndarray],
|
|
|
6 |
# https://github.com/IDEA-Research/GroundingDINO
|
7 |
# https://github.com/InternLM/MindSearch
|
8 |
# --------------------------------------------------------
|
9 |
+
import spaces
|
10 |
import os
|
11 |
import copy
|
12 |
|
|
|
303 |
)
|
304 |
self.use_correlate = True
|
305 |
|
306 |
+
@spaces.GPU
|
307 |
def __call__(
|
308 |
self,
|
309 |
image: Union[str, Image.Image, np.ndarray],
|