Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ def custom_auth():
|
|
| 147 |
return JSONResponse({"token": token})
|
| 148 |
|
| 149 |
@cl.on_chat_start
|
| 150 |
-
def on_chat_start():
|
| 151 |
cl.user_session.set(
|
| 152 |
"message_history",
|
| 153 |
[{"role": "system", "content": "You are a helpful assistant."}],
|
|
|
|
| 147 |
return JSONResponse({"token": token})
|
| 148 |
|
| 149 |
@cl.on_chat_start
|
| 150 |
+
async def on_chat_start():
|
| 151 |
cl.user_session.set(
|
| 152 |
"message_history",
|
| 153 |
[{"role": "system", "content": "You are a helpful assistant."}],
|