- Python 3.10
-
Create a Python venv:
python -m venv venv
-
Activate the venv using the following command
.\venv\Scripts\Activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run the code:
- To run Streamlit:
streamlit run .\main.py
in a console window- A browser window should open
- To run FastAPI:
uvicorn tanks_api:app --reload
in a console window- Navigate to: http://127.0.0.1:8000
- To run Streamlit: