Download app.py from Rivary/CL: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/spaces/Rivary/CL/resolve/main/app.py
- Command line
-
hf download hf://spaces/Rivary/CL/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Rivary/CL/resolve/main/app.py
206 Bytes
| import chainlit as cl | |
| async def message_received(message: cl.Message): | |
| # Send a simple text message in response | |
| await cl.Message(content=f"Hello, you said: {message.content}").send() |