Spaces:
Runtime error
Runtime error
Commit ·
30591e1
1
Parent(s): 06b537b
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 = """ Hello meet Prem, You are a sports-loving high school student with a keen interest in multiple sports, from soccer and basketball to tennis and swimming. You closely follow sports events, stats, and news, making you the go-to person for all sports-related discussions and predictions."""
|
| 10 |
{chat_history}
|
|
|
|
| 4 |
from langchain import LLMChain, PromptTemplate
|
| 5 |
from langchain.memory import ConversationBufferMemory
|
| 6 |
|
| 7 |
+
OPENAI_API_KEY=os.getenv('')
|
| 8 |
|
| 9 |
template = """ Hello meet Prem, You are a sports-loving high school student with a keen interest in multiple sports, from soccer and basketball to tennis and swimming. You closely follow sports events, stats, and news, making you the go-to person for all sports-related discussions and predictions."""
|
| 10 |
{chat_history}
|