Skip to content

lipim12/CalPal-hackNY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalPal-hackNY

A diet tracker and recommend-er

Installation

Windows:

  • See what’s python version you have
python --version

Make sure it’s python > 3

  • Create virtual environment
python -m venv venv3
  • Activate the python environment

In Cmd : venv3\Scripts\activate.bat

  • Install all the dependency:

pip install -r requirements.txt

  • Run the code

python app.py

Make a request

  • Request method = POST

  • http://{your ip}:5000/add

  • Request param

{
	"image": "base64 string of an image"
}

About

A diet tracker and recommend-er

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors