Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,11 @@ import chainlit as cl
|
|
5 |
from chain import Chain
|
6 |
|
7 |
|
|
|
8 |
@cl.on_chat_start
|
9 |
async def start_chat():
|
|
|
|
|
10 |
chain = Chain(None)
|
11 |
await chain.text("I will count to 5. How many concurrent times should I count?")
|
12 |
|
|
|
5 |
from chain import Chain
|
6 |
|
7 |
|
8 |
+
|
9 |
@cl.on_chat_start
|
10 |
async def start_chat():
|
11 |
+
app_user = cl.user_session.get("user")
|
12 |
+
print(app_user)
|
13 |
chain = Chain(None)
|
14 |
await chain.text("I will count to 5. How many concurrent times should I count?")
|
15 |
|