| Project : Squere_Demo ==>> main | |
| --------------------------------------------------------------------------------- | |
| HuggingFace: https://huggingface.co/HawkEyesAI/Squere_Demo | |
| --------------------------------------------------------------------------------- | |
| sudo apt update && sudo apt upgrade -y && sudo apt-get install -y nano wget unzip nvtop git git-lfs && sudo apt-get install -y iproute2 libgl1 build-essential cmake libopenblas-dev liblapack-dev libx11-dev libgtk-3-dev && sudo apt-get update && curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok && ngrok config add-authtoken 2lPN9d5cdnGlSrWb4JGEGVI1Mah_4bvvrGdKKU2ME7nkck8L7 && sudo apt update && sudo apt upgrade -y && git clone -b main https://huggingface.co/HawkEyesAI/Squere_Demo && cd Squere_Demo && pip install -r requirements.txt && sudo apt update && sudo apt upgrade && python Square_API.py | |
| --------------------------------------------------------------------------------- | |
| ngrok http --domain=henlp.ngrok.app 8787 | |
| --------------------------------------------------------------------------------- | |
| tmux new-window -t deploy "ngrok http --domain=henlp.ngrok.app 8787" | |
| --------------------------------------------------------------------------------- | |
| git clone -b main https://huggingface.co/HawkEyesAI/Squere_Demo && cd Squere_Demo && pip install -r requirements.txt && sudo apt update && sudo apt upgrade && python Square_API.py | |
| --------------------------------------------------------------------------------- | |
| cd Squere_Demo && python Square_API.py | |
| --------------------------------------------------------------------------------- | |
| hypercorn Square_API:app --bind 127.0.0.1:8787 --workers 2 | |
| --------------------------------------------------------------------------------- | |
| tmux new-session -d -s deploy "python Square_API.py" | |
| --------------------------------------------------------------------------------- | |
| tmux new-session -d -s deploy "hypercorn Square_API:app --bind 127.0.0.1:8787 --workers 2" | |
| --------------------------------------------------------------------------------- | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| @misc {hawkeyes_digital_monitoring_ltd_2024, | |
| author = { {HawkEyes Digital Monitoring Ltd} }, | |
| title = { Squere_Demo (Revision a4c6cb1) }, | |
| year = 2024, | |
| url = { https://huggingface.co/HawkEyesAI/Squere_Demo }, | |
| doi = { 10.57967/hf/3387 }, | |
| publisher = { Hugging Face } | |
| } |