Spaces:
Runtime error
Runtime error
flamehaze1115
commited on
Commit
•
2072beb
1
Parent(s):
f51bc37
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ class SAMAPI:
|
|
66 |
predictor = None
|
67 |
|
68 |
@staticmethod
|
69 |
-
@st.cache_resource
|
70 |
def get_instance(sam_checkpoint=None):
|
71 |
if SAMAPI.predictor is None:
|
72 |
if sam_checkpoint is None:
|
|
|
66 |
predictor = None
|
67 |
|
68 |
@staticmethod
|
69 |
+
# @st.cache_resource
|
70 |
def get_instance(sam_checkpoint=None):
|
71 |
if SAMAPI.predictor is None:
|
72 |
if sam_checkpoint is None:
|