Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|
|
| 9 |
template = """You are a helpful assistant to answer all user queries.
|
| 10 |
{chat_history}
|
| 11 |
User: {user_message}
|
| 12 |
-
Chatbot:""
|
| 13 |
|
| 14 |
prompt = PromptTemplate(
|
| 15 |
input_variables=["chat_history", "user_message"], template=template
|
|
|
|
| 9 |
template = """You are a helpful assistant to answer all user queries.
|
| 10 |
{chat_history}
|
| 11 |
User: {user_message}
|
| 12 |
+
Chatbot:"""
|
| 13 |
|
| 14 |
prompt = PromptTemplate(
|
| 15 |
input_variables=["chat_history", "user_message"], template=template
|