Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/catalin246/deployment-classification
This Flask-based web app predicts whether uploaded images contain a dog or cat, utilizing a machine learning model. Users receive instant classification results.
https://github.com/catalin246/deployment-classification
api classification flask machine-learning postman python
Last synced: about 1 month ago
JSON representation
This Flask-based web app predicts whether uploaded images contain a dog or cat, utilizing a machine learning model. Users receive instant classification results.
- Host: GitHub
- URL: https://github.com/catalin246/deployment-classification
- Owner: Catalin246
- Created: 2024-03-07T11:40:20.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-03-09T14:37:37.000Z (11 months ago)
- Last Synced: 2024-11-09T04:38:56.958Z (3 months ago)
- Topics: api, classification, flask, machine-learning, postman, python
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### FLASK RESTX BOILER-PLATE WITH JWT BUILD ON PYTHON 3.9
### Terminal commands
Note: make sure you have `pip` and `virtualenv` installed.
To run test: flask testTo run application: flask run
Make sure to run the initial migration commands to update the database (from the venv!).
> export FLASK_APP=manage.py
> flask db init> flask db migrate
> flask db upgrade
### Viewing the app ###
Open the following url on your browser to view swagger documentation
http://127.0.0.1:5000/### Using Postman / Insomnia ####
Authorization header is in the following format:Key: Authorization
Value: "token_generated_during_login"For testing authorization, url for getting all user requires an admin token while url for getting a single
user by public_id requires just a regular authentication.### Based on : Full description and guide (beware this guide targets an older python version!) ###
https://medium.freecodecamp.org/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563### The model making the prediction is not laoded into thei repository due the extensive size.