Open PowerShell in the project folder and run:
.\myenv\Scripts\Activate.ps1
streamlit run templates\home.pyThen open the local URL shown in the terminal, usually:
http://localhost:8501
The active frontend is templates/home.py.
It is directly connected to:
models/ridge.pklmodels/scaler.pkl
When you submit the form, Streamlit:
- converts the selected class and region into numeric values
- builds a dataframe in the correct feature order
- scales the values with
scaler.pkl - predicts FWI with
ridge.pkl
application.pyis a separate Flask app and is not the frontend you should run for this setup.- If PowerShell blocks activation, run:
Set-ExecutionPolicy -Scope Process Bypass