KAGGLE_USERNAME
and KAGGLE_KEY
environment variables with your Kaggle credentialsFOOD_API_ID
, FOOD_API_SECRET
, RECIPES_API_ID
and RECIPES_API_SECRET
environment variables with your Edamam API credentialsmount_food_101.py
script
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
Note: app requires python version>=3.11 (according to vermin)
python genie_driver.py --cli-mode
python genie_driver.py --api-mode
python genie_driver.py --new-genie --num-types=<number of supported food types>
python genie_driver.py --new-genie --gpu
secrets.env
file with Kaggle and Edamam API credentialsdocker build -t genie-io:<image_tag> .
docker run -it -p 5000:5000 genie-io:<image_tag>