Spaces:
Sleeping
Sleeping
Download api/test_module.py from Web3cyberservices/Web3CyberAgent: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/Web3cyberservices/Web3CyberAgent/resolve/main/api/test_module.py
- Command line
-
hf download hf://spaces/Web3cyberservices/Web3CyberAgent/api/test_module.py
-
curl -L -o test_module.py https://huggingface.co/spaces/Web3cyberservices/Web3CyberAgent/resolve/main/api/test_module.py
244 Bytes
| import os | |
| def ping(): | |
| """ | |
| Returns a simple 'pong' string to indicate the module is responsive. | |
| """ | |
| return "pong" | |
| def send_ping(): | |
| """ | |
| Sends a ping and returns the response. | |
| """ | |
| return ping() | |
| print(send_ping()) |