Spaces:
Sleeping
Sleeping
Download socket_handlers/chat_handler.py from dev-haresh/nexus-ai: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/dev-haresh/nexus-ai/resolve/main/socket_handlers/chat_handler.py
- Command line
-
hf download hf://spaces/dev-haresh/nexus-ai/socket_handlers/chat_handler.py
-
curl -L -o chat_handler.py https://huggingface.co/spaces/dev-haresh/nexus-ai/resolve/main/socket_handlers/chat_handler.py
217 Bytes
| def register_chat_handlers(socketio): | |
| def on_connect(): | |
| print("Client connected") | |
| def on_disconnect(): | |
| print("Client disconnected") | |