Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +5 -2
chain_app.py
CHANGED
|
@@ -975,6 +975,7 @@ async def chat_profile():
|
|
| 975 |
# # name="Toka-353M",
|
| 976 |
# # markdown_description="PartAI Open Source model Toka with 353M parameters",
|
| 977 |
# # )
|
|
|
|
| 978 |
|
| 979 |
# @cl.set_chat_profiles
|
| 980 |
# async def chat_profile(current_user: cl.User):
|
|
@@ -1010,8 +1011,10 @@ async def chat_profile():
|
|
| 1010 |
# ]
|
| 1011 |
# )
|
| 1012 |
# ]
|
| 1013 |
-
|
| 1014 |
-
|
|
|
|
|
|
|
| 1015 |
async def on_chat_start():
|
| 1016 |
chat_profile = cl.user_session.get("chat_profile")
|
| 1017 |
|
|
|
|
| 975 |
# # name="Toka-353M",
|
| 976 |
# # markdown_description="PartAI Open Source model Toka with 353M parameters",
|
| 977 |
# # )
|
| 978 |
+
]
|
| 979 |
|
| 980 |
# @cl.set_chat_profiles
|
| 981 |
# async def chat_profile(current_user: cl.User):
|
|
|
|
| 1011 |
# ]
|
| 1012 |
# )
|
| 1013 |
# ]
|
| 1014 |
+
|
| 1015 |
+
|
| 1016 |
+
|
| 1017 |
+
@cl.on_chat_start
|
| 1018 |
async def on_chat_start():
|
| 1019 |
chat_profile = cl.user_session.get("chat_profile")
|
| 1020 |
|