https://github.com/ricoledan/ml-rest-api
🐍 A simple python-based REST API that deploys machine learning models
https://github.com/ricoledan/ml-rest-api
Last synced: 4 days ago
JSON representation
🐍 A simple python-based REST API that deploys machine learning models
- Host: GitHub
- URL: https://github.com/ricoledan/ml-rest-api
- Owner: Ricoledan
- License: mit
- Created: 2021-08-25T17:47:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-04T22:33:08.000Z (over 4 years ago)
- Last Synced: 2025-02-27T19:58:16.611Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ML-REST-api
🐍 A simple python-based REST API template that deploys machine learning models
## Setting up your Python environment
create virtual environment
`python3 -m venv env`
activate environment
`source env/bin/activate`
deactivate environment
`deactivate`
## Dependencies
install dependencies
`python3 -m pip install -r requirements.txt`
lock dependencies
`pip freeze > requirements.txt`
## Run application (Local)
run application with active reload
`uvicorn --app-dir=./app main:app --reload`