Spaces:
Runtime error
Runtime error
temporal change to how api key is handled
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ from langchain_core.prompts import ChatPromptTemplate
|
|
12 |
|
13 |
from langchain_community.document_loaders import UnstructuredFileLoader
|
14 |
|
15 |
-
OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
|
|
|
16 |
|
17 |
# Get all the filenames from the docs folder
|
18 |
files = glob.glob("./docs/*.txt")
|
|
|
12 |
|
13 |
from langchain_community.document_loaders import UnstructuredFileLoader
|
14 |
|
15 |
+
#OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
|
16 |
+
OPENAI_API_KEY = "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"
|
17 |
|
18 |
# Get all the filenames from the docs folder
|
19 |
files = glob.glob("./docs/*.txt")
|