Skip to content

CP-Lookin/ml-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lookin

ML Backend with FastAPI

Installation

Clone project

  git clone https://github.com/CP-Lookin/ml-backend.git

Go to project directory

  cd backend-fastapi

Create virtual env

  python3 -m venv venv

Activate virtual env

  • Mac / Linux
  source venv/bin/activate
  • Windows
  .\venv\Scripts\activate

Install all libraries

  pip install requirements.txt

Run project

  fastapi dev main.py

API Reference

Predict images

  POST /predict
Parameter Type Description
file file Required. The file to be uploaded for prediction

You can view this document for an example of the API.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages