Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 838 Bytes

File metadata and controls

30 lines (19 loc) · 838 Bytes

Text-Classification with FastAPI / Streamlit / Docker Compose

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 .

GitHub Logo

How to use

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

Trivia:

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.