Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def get_model_and_processor(checkpoint: str):
|
|
| 98 |
return model, image_processor
|
| 99 |
|
| 100 |
|
| 101 |
-
@spaces.
|
| 102 |
def detect_objects(
|
| 103 |
checkpoint: str,
|
| 104 |
images: List[np.ndarray] | np.ndarray,
|
|
|
|
| 98 |
return model, image_processor
|
| 99 |
|
| 100 |
|
| 101 |
+
# @spaces.GPU(duration=20)
|
| 102 |
def detect_objects(
|
| 103 |
checkpoint: str,
|
| 104 |
images: List[np.ndarray] | np.ndarray,
|