Create the virtual environment
python -m venv venv
Activate the virtual environment
venv/Scripts/activate
Install the dependencies
pip install -r requirements.txt
To run the application
streamlit run index.py
To run the API
python main.py
or
flask --app main run