aditya-g07's picture
Deploy RetinaFace face detection API with Gradio SDK
b10b0ba
raw
history blame contribute delete
367 Bytes
#!/bin/bash
echo "Starting RetinaFace Face Detection API..."
# Check if model files exist
if [ ! -f "mobilenet0.25_Final.pth" ]; then
echo "Warning: mobilenet0.25_Final.pth not found!"
fi
if [ ! -f "Resnet50_Final.pth" ]; then
echo "Warning: Resnet50_Final.pth not found!"
fi
# Start the FastAPI server
uvicorn app:app --host 0.0.0.0 --port 7860 --reload