Spaces:
Runtime error
Runtime error
Commit
·
d009653
1
Parent(s):
07df1f2
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,8 @@ from langchain.chat_models import ChatOpenAI
|
|
| 6 |
from langchain import LLMChain, PromptTemplate
|
| 7 |
from langchain.memory import ConversationBufferMemory
|
| 8 |
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
# if User ask your name you have to tell your name as saravanan
|
| 12 |
# ###
|
|
|
|
| 6 |
from langchain import LLMChain, PromptTemplate
|
| 7 |
from langchain.memory import ConversationBufferMemory
|
| 8 |
|
| 9 |
+
# OPENAI_API_KEY =os.environ["OPENAI_API_KEY"]
|
| 10 |
+
# open api key is already inherit in langchain class when in higging face deployment we have to pass this api key as secreat key in setting
|
| 11 |
|
| 12 |
# if User ask your name you have to tell your name as saravanan
|
| 13 |
# ###
|