Commit ·
c80f5a7
1
Parent(s): fe9d3dc
updated instruction
Browse files
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### rakib72642/faceDetection_Django_Model
|
| 2 |
+
|
| 3 |
+
# HuggingFace: git clone https://huggingface.co/rakib72642/faceDetection_Django_Model
|
| 4 |
+
|
| 5 |
+
# Setup Global API
|
| 6 |
+
|
| 7 |
+
sudo apt install iproute2 -y && sudo apt install wget -y && sudo apt install unzip -y && sudo apt install unzip -y && apt install nvtop -y && sudo apt-get install git-all -y && sudo apt-get install git-lfs -y && sud apt-get update && sudo apt-get install libgl1 -y && sudo apt install curl -y && 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 -y && sudo apt update && sudo apt upgrade -y && ngrok config add-authtoken 2Qm8hS1zPhVXiLjEdlI4738tLzF_2QJwGJMK5oTbQD33QSVXS && ngrok http --domain=hawkeyes.ngrok.app 8585
|
| 8 |
+
|
| 9 |
+
# Setup Local API
|
| 10 |
+
git clone git clone https://huggingface.co/rakib72642/faceDetection_Django_Model && cd faceDetection_Django_Model && pip install -r requirements.txt && sudo apt update && sudo apt upgrade -y && python face_main.py
|
| 11 |
+
|
| 12 |
+
cd faceDetection_Django_Model && python face_main.py
|
| 13 |
+
|
| 14 |
+
# hypercorn face_main:app --bind 127.0.0.1:8585 --workers 4
|