Spaces:
Runtime error
Runtime error
Commit
•
64c279a
1
Parent(s):
8a50ea1
Upload app.py with huggingface_hub
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}
|