Spaces:
Runtime error
Runtime error
Andrey
commited on
Commit
•
40a6ccf
1
Parent(s):
f0facef
Erlemar patch 1 (#18)
Browse files* Update requirements.txt
* Update formatting.
* Update formatting.
* Update formatting.
* Update versions
* Change cache to cache_data.
* Change cache to cache_data.
- src/ml_utils.py +1 -1
src/ml_utils.py
CHANGED
@@ -196,7 +196,7 @@ def predict(
|
|
196 |
return nms_boxes
|
197 |
|
198 |
|
199 |
-
@st.
|
200 |
def get_model():
|
201 |
model_name = 'model_files/best_model.pth'
|
202 |
|
|
|
196 |
return nms_boxes
|
197 |
|
198 |
|
199 |
+
@st.cache_data
|
200 |
def get_model():
|
201 |
model_name = 'model_files/best_model.pth'
|
202 |
|