Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if 'requests' not in st.session_state:
|
|
25 |
|
26 |
openai_api_key = os.getenv("OPENAI_API_KEY", "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")
|
27 |
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
|
28 |
-
new_db = FAISS.load_local("
|
29 |
llm = OpenAI(openai_api_key=openai_api_key, temperature=0.0)
|
30 |
|
31 |
# if 'buffer_memory' not in st.session_state:
|
|
|
25 |
|
26 |
openai_api_key = os.getenv("OPENAI_API_KEY", "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")
|
27 |
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
|
28 |
+
new_db = FAISS.load_local("faiss_index_diagnostics_RCV", embeddings)
|
29 |
llm = OpenAI(openai_api_key=openai_api_key, temperature=0.0)
|
30 |
|
31 |
# if 'buffer_memory' not in st.session_state:
|