Download main.py from jlshu/vproxy: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/jlshu/vproxy/resolve/main/main.py
- Command line
-
hf download hf://spaces/jlshu/vproxy/main.py
-
curl -L -o main.py https://huggingface.co/spaces/jlshu/vproxy/resolve/main/main.py
290 Bytes
| #!/usr/bin/env python3 | |
| """Unified local entrypoint.""" | |
| from pathlib import Path | |
| import sys | |
| ROOT = Path(__file__).resolve().parent | |
| SRC = ROOT / "src" | |
| if str(SRC) not in sys.path: | |
| sys.path.insert(0, str(SRC)) | |
| from aistudio_api.main import main | |
| if __name__ == "__main__": | |
| main() | |