thoristhor commited on
Commit
7bd5936
1 Parent(s): c48cb63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,9 +8,9 @@ from langchain.chains.conversation.memory import ConversationBufferMemory
8
  from langchain import OpenAI
9
  from langchain.agents import initialize_agent
10
 
11
- OPENAI_API_KEY=os.environ.get("OPENAI_API_KEY")
12
- PINECONE_API_KEY=os.environ.get("PINECONE_API_KEY")
13
- PINECONE_ENV=os.environ.get("PINECONE_ENV")
14
 
15
  pindex=pinecone.Index("sethgodin")
16
  pinedex=GPTPineconeIndex([], pinecone_index=pindex)
 
8
  from langchain import OpenAI
9
  from langchain.agents import initialize_agent
10
 
11
+ OPENAI_API_KEY=os.environ["OPENAI_API_KEY"]
12
+ PINECONE_API_KEY=os.environ["PINECONE_API_KEY"]
13
+ PINECONE_ENV=os.environ.get["PINECONE_ENV"]
14
 
15
  pindex=pinecone.Index("sethgodin")
16
  pinedex=GPTPineconeIndex([], pinecone_index=pindex)