Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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):
|