udituen commited on
Commit
c1d3591
·
1 Parent(s): 9fe7b84

fix meta tensor error

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -97,7 +97,7 @@ def get_chunks(file_content):
97
 
98
 
99
  # Build retriever from uploaded content
100
- @st.cache_resource
101
  def build_retriever(docs):
102
 
103
  embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
 
97
 
98
 
99
  # Build retriever from uploaded content
100
+ # @st.cache_resource
101
  def build_retriever(docs):
102
 
103
  embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")