Spaces:
Sleeping
Sleeping
Download start.sh from simhaa-hat/generated-bill: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/simhaa-hat/generated-bill/resolve/main/start.sh
- Command line
-
hf download hf://spaces/simhaa-hat/generated-bill/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/simhaa-hat/generated-bill/resolve/main/start.sh
341 Bytes
| # Start Python OCR server in background | |
| echo "Starting Python OCR server..." | |
| echo "Checking backend files..." | |
| ls -l backend/src/mockBackend.tsx | |
| python backend/src/python/ocr_server.py & | |
| # Wait for a few seconds for Python server to start | |
| sleep 5 | |
| # Start Node.js backend | |
| echo "Starting Node.js backend..." | |
| npm run backend:prod | |