Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def get_chunks():
|
|
94 |
# #"status":giz_df.loc[i,'status'],
|
95 |
# }))
|
96 |
# return placeholder
|
97 |
-
@st.
|
98 |
def embed_chunks(chunks):
|
99 |
"""
|
100 |
takes the chunks and does the hybrid embedding for the list of chunks
|
|
|
94 |
# #"status":giz_df.loc[i,'status'],
|
95 |
# }))
|
96 |
# return placeholder
|
97 |
+
@st.cache_resource
|
98 |
def embed_chunks(chunks):
|
99 |
"""
|
100 |
takes the chunks and does the hybrid embedding for the list of chunks
|