Spaces:
Runtime error
Runtime error
SanjayKrishnan
commited on
Commit
•
f1f366d
1
Parent(s):
5503899
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from langchain.chat_models import ChatOpenAI
|
|
4 |
from langchain import LLMChain, PromptTemplate
|
5 |
from langchain.memory import ConversationBufferMemory
|
6 |
|
7 |
-
OPENAI_API_KEY=os.getenv('
|
8 |
|
9 |
template = """You are a helpful assistant to answer all user queries.
|
10 |
{chat_history}
|
|
|
4 |
from langchain import LLMChain, PromptTemplate
|
5 |
from langchain.memory import ConversationBufferMemory
|
6 |
|
7 |
+
OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|
8 |
|
9 |
template = """You are a helpful assistant to answer all user queries.
|
10 |
{chat_history}
|