ajb974 / Kibble-Kounter1

Apache License 2.0
1 stars 0 forks source link

Create Flask App #26

Closed ajb974 closed 1 year ago

ajb974 commented 1 year ago

Create the frontend Flask app for the KibbleKounter

ajb974 commented 1 year ago

Create html files for flask app.

mlivai commented 1 year ago

home, addpet completed

mlivai commented 1 year ago

image image image image image

Need to discuss the following pages:

ajb974 commented 1 year ago

Setup user download of pictures and user upload of prediction model.

mlivai commented 1 year ago

links for downloaded and uploading files on html/flask: https://stackoverflow.com/questions/69881709/downloading-multiple-files-in-flask https://medium.com/featurepreneur/uploading-files-using-flask-ec9fb4c7d438 https://blog.devgenius.io/get-started-with-multiple-files-upload-using-flask-e8a2f5402e20 https://dev.to/grahammorby/let-users-download-files-in-flask-5gjg

ajb974 commented 1 year ago

Flask commands: In pictures, rm -r "Pet Name" In KibbleKounter, rm "Pet Name".csv To run Flask, sudo python flaskapp.py

ajb974 commented 1 year ago

If rm asks "remove write-protected regular file", type "y"

ajb974 commented 1 year ago

If changes are made to KibbleKounter.py, recompile with "sudo pip install ." while in Kibble-Kounter1