| # π¦βπ₯ Project: UNILEVER_Master β main Branch |
| |
| HuggingFace Repo: https://huggingface.co/HawkEyesAI/UBL-Backup |
| |
| ## π Full Deployment Command |
| ```bash |
| sudo apt update && sudo apt upgrade -y \ |
| && sudo apt-get install -y iproute2 libgl1 nano wget unzip nvtop git git-lfs \ |
| && git config --global credential.helper store \ |
| && git clone -b main https://huggingface.co/HawkEyesAI/UBL-Backup \ |
| && cd UNILEVER_Master \ |
| && chmod +x deploy.sh \ |
| && ./deploy.sh \ |
| && python test.py \ |
| && python countError.py |
| ``` |
| ## π§ͺ Manual Setup & API Run |
| ```bash |
| git clone -b main https://huggingface.co/HawkEyesAI/UBL-Backup |
| cd UNILEVER_Master |
| pip install -r requirements.txt |
| sudo apt update && sudo apt upgrade -y |
| python UBL_API.py |
| ``` |
| |
| ## π Expose API via ngrok |
| ```bash |
| tmux new-window -t deploy "ngrok http --domain=he.ngrok.app 5656" |
| tmux new-window -t deploy "ngrok http --domain=hawkeyes.ngrok.app 5656" |
| ``` |
| ### Direct command: |
| ```bash |
| ngrok http --domain=he.ngrok.app 5656 |
| ngrok http --domain=hawkeyes.ngrok.app 5656 |
| ``` |
| |
| ## β‘ Run with Hypercorn |
| ```bash |
| tmux new-session -d -s deploy "python UBL_API.py" |
| ``` |
| or |
| ```bash |
| tmux new-session -d -s deploy "hypercorn UBL_API:app --bind 127.0.0.1:5656 --workers 2" |
| ``` |
| #### π Citation |
| ```bash |
| @misc{hawkeyes_digital_monitoring_ltd_2025, |
| author = { HawkEyes Digital Monitoring Ltd }, |
| title = { UNILEVER_Master (Revision 6cbf0b8) }, |
| year = 2025, |
| url = { https://huggingface.co/HawkEyesAI/UNILEVER_Master }, |
| doi = { 10.57967/hf/7061 }, |
| publisher = { Hugging Face } |
| } |
| ``` |
| |