Nolwenn
commited on
Commit
·
d542bea
1
Parent(s):
6cabb8a
Update cache
Browse files- crs_arena/utils.py +1 -1
crs_arena/utils.py
CHANGED
@@ -25,7 +25,7 @@ from src.model.crs_model import CRSModel
|
|
25 |
HF_API = HfApi(token=st.secrets["hf_token"])
|
26 |
|
27 |
|
28 |
-
@st.cache_resource(show_spinner="Loading CRS..."
|
29 |
def get_crs_model(model_name: str, model_config_file: str) -> CRSModel:
|
30 |
"""Returns a CRS model.
|
31 |
|
|
|
25 |
HF_API = HfApi(token=st.secrets["hf_token"])
|
26 |
|
27 |
|
28 |
+
@st.cache_resource(show_spinner="Loading CRS...")
|
29 |
def get_crs_model(model_name: str, model_config_file: str) -> CRSModel:
|
30 |
"""Returns a CRS model.
|
31 |
|