Spaces:
Sleeping
Sleeping
Download run_server.bat from Zeyadmohamed21/OCR: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/spaces/Zeyadmohamed21/OCR/resolve/main/run_server.bat
- Command line
-
hf download hf://spaces/Zeyadmohamed21/OCR/run_server.bat
-
curl -L -o run_server.bat https://huggingface.co/spaces/Zeyadmohamed21/OCR/resolve/main/run_server.bat
416 Bytes
| @echo off | |
| title Universal OCR Microservice | |
| cd /d "%~dp0" | |
| echo =================================================== | |
| echo Starting Universal Document OCR Server... | |
| echo Web Viewer: http://127.0.0.1:8000/viewer | |
| echo API Docs: http://127.0.0.1:8000/docs | |
| echo =================================================== | |
| call .\venv\Scripts\activate.bat | |
| python -m uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload | |
| pause | |