Spaces:
Sleeping
Sleeping
Download code.py from pipi333/Lingxi_Weather_Sprite: direct link, hf CLI and curl.
- Browser
- Download file 165 Bytes
-
https://huggingface.co/spaces/pipi333/Lingxi_Weather_Sprite/resolve/main/code.py
- Command line
-
hf download hf://spaces/pipi333/Lingxi_Weather_Sprite/code.py
-
curl -L -o code.py https://huggingface.co/spaces/pipi333/Lingxi_Weather_Sprite/resolve/main/code.py
165 Bytes
| from transformers import AutoModel | |
| access_token = "hf_hf_GlbAHwZiEgvXDXgWfEcPfbaCXvpjApsTCn" | |
| model = AutoModel.from_pretrained("private/model", token=access_token) |