Spaces:
Runtime error
Runtime error
Commit
·
bfbf1d1
1
Parent(s):
c9c1394
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,8 @@ index = pinecone.Index('ingradientsearch')
|
|
23 |
|
24 |
|
25 |
|
26 |
-
|
|
|
27 |
def load_model():
|
28 |
return SentenceTransformer(r"finetiuned_model")
|
29 |
|
|
|
23 |
|
24 |
|
25 |
|
26 |
+
#@st.cache(allow_output_mutation=True)
|
27 |
+
@st.cache_data
|
28 |
def load_model():
|
29 |
return SentenceTransformer(r"finetiuned_model")
|
30 |
|