This project showcases the use of FastAPI
and Streamlit
in tandem.
The trained model is deployed using a FastAPI rest service containerized using Docker
.
The front end UI is built on Streamlit which is hosted on its own Docker container.
We spin both the containers together using Docker Compose
.
Clone this repo and run the below docker command:
To Start Application:
docker-compose up -d --build
and navigate to http://localhost:8501/
To Stop Application:
docker-compose down
Using the volume tag in the compose file, we can mount the local folders from your computer to the Docker container. Now you can develop your app while using Docker and save changes.