Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ if 'responses' not in st.session_state:
|
|
23 |
if 'requests' not in st.session_state:
|
24 |
st.session_state['requests'] = []
|
25 |
|
26 |
-
openai_api_key = os.getenv("OPENAI_API_KEY", "sk-
|
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)
|
|
|
23 |
if 'requests' not in st.session_state:
|
24 |
st.session_state['requests'] = []
|
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)
|