Skip to content

airctic/icevision-client-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IceVision Deployment using FastAPI and Streamlit

Installation

You need to install both FastAPI and Streamlit in your working environment

FastAPI Installation

From your the project root directory , run the following commands

cd fastapi
pip install -r requirements.txt

Streamlit Installation

From your the project root directory , run the following commands

cd streamlit
pip install -r requirements.txt

Running using a local machine

1- Open a terminal for the FastAPI server, and run the following command:

cd fastapi
uvicorn server:app --reload

2- Open another terminal for the Streamlit client, and run the following command:

cd streamlit
streamlit run ui.py

Press Ctrl+Click on the http://192.168.2.11:8501 URL to open the app in your local browser

Credit:

This implementation is inspired by the following blog post:

Simple example of usage of streamlit and FastAPI for ML model serving.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages