Spaces:
Runtime error
Runtime error
Juan Martínez
commited on
Commit
·
0409dcd
1
Parent(s):
c920449
remove model cache
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ def get_dataset():
|
|
16 |
ds.add_faiss_index(column="embedding")
|
17 |
return ds
|
18 |
|
19 |
-
@st.cache()
|
20 |
def get_model():
|
21 |
if "model" not in st.session_state:
|
22 |
st.session_state["model"] = SentenceTransformer("justinian336/chupeto")
|
|
|
16 |
ds.add_faiss_index(column="embedding")
|
17 |
return ds
|
18 |
|
|
|
19 |
def get_model():
|
20 |
if "model" not in st.session_state:
|
21 |
st.session_state["model"] = SentenceTransformer("justinian336/chupeto")
|