Spaces:
Runtime error
Runtime error
Download app/runner.py from LwinLwin/HandWriting-Text-Recognizer: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/LwinLwin/HandWriting-Text-Recognizer/resolve/refs%2Fpr%2F1/app/runner.py
- Command line
-
hf download hf://spaces/LwinLwin/HandWriting-Text-Recognizer@refs/pr/1/app/runner.py
-
curl -L -o runner.py https://huggingface.co/spaces/LwinLwin/HandWriting-Text-Recognizer/resolve/refs%2Fpr%2F1/app/runner.py
151 Bytes
| import os | |
| import subprocess | |
| fileDir = os.path.dirname(os.path.realpath(__file__)) | |
| subprocess.run(["streamlit", "run", "webapp.py"], cwd = fileDir) |