Spaces:
Runtime error
Runtime error
Commit ·
7a33cd1
1
Parent(s): 5521296
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from langchain.chat_models import ChatOpenAI
|
|
| 7 |
from htmlTemplates import css, user_template, bot_template
|
| 8 |
|
| 9 |
# Set OpenAI API Key
|
| 10 |
-
os.environ['OPENAI_API_KEY'] =
|
| 11 |
|
| 12 |
# Initialize LangChain ChatOpenAI agent
|
| 13 |
llm = ChatOpenAI(
|
|
|
|
| 7 |
from htmlTemplates import css, user_template, bot_template
|
| 8 |
|
| 9 |
# Set OpenAI API Key
|
| 10 |
+
os.environ['OPENAI_API_KEY'] = OPENAI_API_KEY
|
| 11 |
|
| 12 |
# Initialize LangChain ChatOpenAI agent
|
| 13 |
llm = ChatOpenAI(
|