Spaces:
Runtime error
Runtime error
Download app.py from deep-matter/Nano-AutoGrad: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/deep-matter/Nano-AutoGrad/resolve/main/app.py
- Command line
-
hf download hf://spaces/deep-matter/Nano-AutoGrad/app.py
-
curl -L -o app.py https://huggingface.co/spaces/deep-matter/Nano-AutoGrad/resolve/main/app.py
224 Bytes
| import zipfile | |
| # Specify the path to the ZIP file | |
| zip_path = 'app.zip' | |
| # Open the ZIP file | |
| with zipfile.ZipFile(zip_path, 'r') as zip_ref: | |
| # Extract all files and directories in the ZIP file | |
| zip_ref.extractall('.') |