Download update_version.py from pigracing/zg: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/pigracing/zg/resolve/main/update_version.py
- Command line
-
hf download hf://spaces/pigracing/zg/update_version.py
-
curl -L -o update_version.py https://huggingface.co/spaces/pigracing/zg/resolve/main/update_version.py
358 Bytes
| # -*- coding: utf-8 -*- | |
| with open(r'C:\Users\ghbank\WorkBuddy\20260422085453\tanzg\app.py', 'r', encoding='utf-8') as f: | |
| c = f.read() | |
| c = c.replace("__version__ = 'V1.6.2'", "__version__ = 'V1.7.0'") | |
| with open(r'C:\Users\ghbank\WorkBuddy\20260422085453\tanzg\app.py', 'w', encoding='utf-8') as f: | |
| f.write(c) | |
| print('Version updated to V1.7.0') | |