Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaustubhgupta/fastapi-demo

This is a demo code for implementing FastAPI while implementing machine learning deployment
https://github.com/kaustubhgupta/fastapi-demo

demo fastapi pydantic python sklearn

Last synced: about 1 month ago
JSON representation

This is a demo code for implementing FastAPI while implementing machine learning deployment

Awesome Lists containing this project

README

        

# FastAPI-Demo

This repository holds the code used for article in Analytics Vidhya Blogathon. To read the corresponding article then head over to this link:
https://www.analyticsvidhya.com/blog/2020/11/fastapi-the-right-replacement-for-flask/

## Directory Explaination

- [tutorial.py](./tutorial.py) file is the one used for FastAPI demo code in article
- [music.py](./music.py) file is the class layout (Pydantic model) for data validation
- [main.py](./main.py) file is the music genre classifier FastAPI code
- [model_tree.pkl](./model_tree.pkl) is the decision tree classifier file