Download patch_api.py from Leon4gr45/agent-0: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/Leon4gr45/agent-0/resolve/main/patch_api.py
- Command line
-
hf download hf://spaces/Leon4gr45/agent-0/patch_api.py
-
curl -L -o patch_api.py https://huggingface.co/spaces/Leon4gr45/agent-0/resolve/main/patch_api.py
309 Bytes
| with open("api.py", "r") as f: | |
| content = f.read() | |
| # Ah! The previous `git restore api.py` deleted the fix for PermissionError I made in Gate 01! | |
| # Wait, I didn't redo the ATK_DATA_ROOT fix after running `git restore`? | |
| # Yes! `git restore api.py` wiped my ATK_DATA_ROOT fix. | |
| # Let's re-apply it properly. | |