Spaces:
Sleeping
Sleeping
Download py/node_api.py from Pamudu13/gemma-3-chat: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/spaces/Pamudu13/gemma-3-chat/resolve/main/py/node_api.py
- Command line
-
hf download hf://spaces/Pamudu13/gemma-3-chat/py/node_api.py
-
curl -L -o node_api.py https://huggingface.co/spaces/Pamudu13/gemma-3-chat/resolve/main/py/node_api.py
178 Bytes
| import shutil | |
| from fastapi import APIRouter | |
| router = APIRouter(prefix="/api/node") | |
| def probe(): | |
| return {"installed": shutil.which("node") is not None} |