Spaces:
Sleeping
Sleeping
Download app.py from Ephab/Hand_Digit_Recognition: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/spaces/Ephab/Hand_Digit_Recognition/resolve/main/app.py
- Command line
-
hf download hf://spaces/Ephab/Hand_Digit_Recognition/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Ephab/Hand_Digit_Recognition/resolve/main/app.py
259 Bytes
| import pathlib | |
| import sys | |
| ROOT = pathlib.Path(__file__).resolve().parent | |
| sys.path.insert(0, str(ROOT)) | |
| sys.path.insert(0, str(ROOT / "src")) | |
| from src.hf_space import demo | |
| if __name__ == "__main__": | |
| demo.launch(server_name="0.0.0.0", server_port=7860) | |