arihant3704's picture
Upload 14 files
ec0daf5 verified
raw
history blame contribute delete
767 Bytes
#!/bin/bash
# Configuration
PORT=8000
HOST="0.0.0.0"
echo "------------------------------------------------"
echo "πŸš€ Starting Inference Studio..."
echo "------------------------------------------------"
# Check dependencies
echo "πŸ” Checking dependencies..."
if ! command -v ffmpeg &> /dev/null; then
echo "⚠️ Warning: ffmpeg not found. Video transcoding will fail."
else
echo "βœ… ffmpeg found."
fi
# Create necessary directories
echo "πŸ“ Preparing directories..."
mkdir -p uploads/models uploads/videos uploads/results uploads/temp
# Start the server
echo "πŸ“‘ Server starting at http://localhost:$PORT"
echo "------------------------------------------------"
# Run with python directly as main.py has the uvicorn runner
python3 main.py