Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 566 Bytes

File metadata and controls

16 lines (11 loc) · 566 Bytes

Flask REST API

REST APIs are commonly used to expose Machine Learning (ML) models to other services. This folder contains an example REST API created using Flask to expose the YOLOv5s model from PyTorch Hub.

Requirements

Flask is required. Install with:

$ pip install Flask

Run

After Flask installation run:

$ python3 restapi.py --port 5000