ppsingh commited on
Commit
1ba0ae1
·
verified ·
1 Parent(s): 3f08d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def get_chunks():
94
  # #"status":giz_df.loc[i,'status'],
95
  # }))
96
  # return placeholder
97
- @st.cache_data
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