Spaces:
Running
Running
Download app/controllers/ping.py from kodnuke/youtube-bot: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/spaces/kodnuke/youtube-bot/resolve/main/app/controllers/ping.py
- Command line
-
hf download hf://spaces/kodnuke/youtube-bot/app/controllers/ping.py
-
curl -L -o ping.py https://huggingface.co/spaces/kodnuke/youtube-bot/resolve/main/app/controllers/ping.py
245 Bytes
| from fastapi import APIRouter, Request | |
| router = APIRouter() | |
| def ping(request: Request) -> str: | |
| return "pong" | |