premdeep09/ANPR-System
0
1#!/bin/bash2 3# Start FastAPI backend on port 80004uvicorn main:app --host 0.0.0.0 --port 8000 &5 6# Start Streamlit frontend on port 7860 (Hugging Face default)7# We disable CORS and XSRF because Hugging Face runs the app inside an iframe, which triggers 403 errors otherwise.8streamlit run dashboard.py --server.port 7860 --server.address 0.0.0.0 --server.enableCORS false --server.enableXsrfProtection false9 