Spaces:
Paused
Paused
Download fix.py from paras9909/opticparse-python: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/paras9909/opticparse-python/resolve/main/fix.py
- Command line
-
hf download hf://spaces/paras9909/opticparse-python/fix.py
-
curl -L -o fix.py https://huggingface.co/spaces/paras9909/opticparse-python/resolve/main/fix.py
200 Bytes
| content = open('server.py', encoding='utf-8').read() | |
| content = content.replace('\\nif __name__ == "__main__":', '\nif __name__ == "__main__":') | |
| open('server.py', 'w', encoding='utf-8').write(content) | |