| # π main Branch β Live Deployment |
|
|
| Project: MALAY-DAIA β main |
|
|
| HuggingFace Repo: https://huggingface.co/HawkEyesAI/Malay-DAIA |
|
|
| ## βοΈ 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/Malay-DAIA \ |
| && cd Malay-DAIA \ |
| && chmod +x deploy.sh \ |
| && ./deploy.sh |
| ``` |
|
|
| <!-- ## π Redeploy Script |
| ```bash |
| chmod +x reDeploy.sh && ./reDeploy.sh && sleep 10 && python test.py |
| ``` --> |
|
|
| ## π§ͺ Run API |
|
|
| ```bash |
| cd Malay-DAIA && python api.py |
| ``` |
|
|
| ## β‘ Run with Hypercorn |
|
|
| ```bash |
| hypercorn api:app --bind 127.0.0.1:7887 --workers 2 |
| ``` |
|
|
| ## π Expose via ngrok |
|
|
| ```bash |
| ngrok http --domain=he.ngrok.app 7887 |
| ``` |
|
|
| ### π Citation |
|
|
| ```bash |
| @misc{hawkeyes_digital_monitoring_ltd_2025, |
| author = { HawkEyes Digital Monitoring Ltd }, |
| title = { Malay-DAIA (Revision c83273f) }, |
| year = 2025, |
| url = { https://huggingface.co/HawkEyesAI/Malay-DAIA }, |
| doi = { 10.57967/hf/7062 }, |
| publisher = { Hugging Face } |
| } |
| ``` |
|
|