Quent1Fvr commited on
Commit
a67832d
1 Parent(s): 780eef0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,10 +14,10 @@ if not "OPENAI_API_KEY" in os.environ:
14
  llm_model = "gpt-4"
15
  llm = LlmAgent(llm_model=llm_model)
16
 
17
- if not os.path.exists("database_structuredemo/"):
18
- os.makedirs("database_structuredemo/")
19
 
20
- client_db = chromadb.PersistentClient("database_structuredemo/")
21
 
22
  chat = Chatbot(client_db=client_db,retriever=Retriever(llmagent=llm),llm_agent=llm)
23
 
 
14
  llm_model = "gpt-4"
15
  llm = LlmAgent(llm_model=llm_model)
16
 
17
+ if not os.path.exists("database_structuredemo2 copy/"):
18
+ os.makedirs("database_structuredemo2 copy/")
19
 
20
+ client_db = chromadb.PersistentClient("database_structuredemo2 copy/")
21
 
22
  chat = Chatbot(client_db=client_db,retriever=Retriever(llmagent=llm),llm_agent=llm)
23