hamza82 commited on
Commit
da471a9
·
verified ·
1 Parent(s): c603b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."}],