samim2024 commited on
Commit
8ef9874
·
verified ·
1 Parent(s): 502892f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def create_langchain_index(input_text):
67
  persist_directory = "chroma_db"
68
  #vectordb = Chroma.from_documents(documents=docs, embedding=embeddings, persist_directory=persist_directory)
69
  #new_db = Chroma(persist_directory=persist_directory, embedding_function=embeddings)
70
- return db
71
 
72
  # @st.cache_resource
73
  # def get_basic_page_details(input_text,summary_query,tweet_query,ln_query):
 
67
  persist_directory = "chroma_db"
68
  #vectordb = Chroma.from_documents(documents=docs, embedding=embeddings, persist_directory=persist_directory)
69
  #new_db = Chroma(persist_directory=persist_directory, embedding_function=embeddings)
70
+ return _db
71
 
72
  # @st.cache_resource
73
  # def get_basic_page_details(input_text,summary_query,tweet_query,ln_query):