Spaces:
Runtime error
Runtime error
Harshithtd
commited on
Commit
•
fea0136
1
Parent(s):
aa11617
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ def get_processor_and_model(slim: bool):
|
|
17 |
return slimsam_processor, slimsam_model
|
18 |
return sam_processor, sam_model
|
19 |
|
20 |
-
@spaces.GPU
|
21 |
def sam_box_inference(image, x_min, y_min, x_max, y_max, *, slim=False):
|
22 |
|
23 |
processor, model = get_processor_and_model(slim)
|
|
|
17 |
return slimsam_processor, slimsam_model
|
18 |
return sam_processor, sam_model
|
19 |
|
|
|
20 |
def sam_box_inference(image, x_min, y_min, x_max, y_max, *, slim=False):
|
21 |
|
22 |
processor, model = get_processor_and_model(slim)
|