GroundingPI / .env.example
FanLR's picture
Use a 60-second default GPU lease
2222d22 verified
Raw History Blame Contribute Delete
475 Bytes
# Hugging Face Space -> Settings -> Variables
GROUNDING_BACKEND=zerogpu
GROUNDING_MODEL_REPO=GroundingPI/GroundingPI
GROUNDING_MODEL_REVISION=127b0e1c54c68f24bf769a80067521b815b695dd
GROUNDING_MAX_TOKENS=1024
GROUNDING_GPU_SECONDS=60
# For a private/gated model, put HF_TOKEN in Settings -> Secrets, not this file.
# Local CUDA test alternative: unset REPO/REVISION and set GROUNDING_MODEL_PATH.
# HTTP rollback: GROUNDING_BACKEND=http and your approved GROUNDING_API_BASE.