Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,13 +3,15 @@ import asyncio
|
|
| 3 |
import chainlit as cl
|
| 4 |
|
| 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 |
|
|
|
|
| 3 |
import chainlit as cl
|
| 4 |
|
| 5 |
from chain import Chain
|
| 6 |
+
import os
|
| 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 |
+
print(os.getenv("OAUTH_CLIENT_ID"))
|
| 14 |
+
print('HERE-------------------------------------------------')
|
| 15 |
chain = Chain(None)
|
| 16 |
await chain.text("I will count to 5. How many concurrent times should I count?")
|
| 17 |
|