Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
18 |
-
os.makedirs("
|
19 |
|
20 |
-
client_db = chromadb.PersistentClient("
|
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 |
|