Spaces:
Sleeping
Sleeping
Download scripts/demo.py from pchalasani/langroid-app: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/spaces/pchalasani/langroid-app/resolve/main/scripts/demo.py
- Command line
-
hf download hf://spaces/pchalasani/langroid-app/scripts/demo.py
-
curl -L -o demo.py https://huggingface.co/spaces/pchalasani/langroid-app/resolve/main/scripts/demo.py
235 Bytes
| import chainlit as cl | |
| async def main(message: cl.Message): | |
| # Your custom logic goes here... | |
| # Send a response back to the user | |
| await cl.Message( | |
| content=f"Received: {message.content}", | |
| ).send() |