Scan your groceries or your reciepts and automatically catalogue them in your personal virtual inventory.
By Theodore, Helen, Alex, Freddy
- Install the requirements
- Init the database with
flask db init
- Then prep the database with
flask db migrate
andflask db upgrade
- Make a top level file called
keys.py
- Get a production API key for Cohere (https://dashboard.cohere.com/api-keys) and set it as
COHERE_API_KEY = "your key"
- Get any API key for API Ninjas (https://api-ninjas.com/api/imagetotext) and set it as
API_NINJAS_KEY = "your key"
- Get an OpenAI Chat (https://platform.openai.com/account/api-keys) key and set it as
OPENAI_KEY = "your key"
- Get a production API key for Cohere (https://dashboard.cohere.com/api-keys) and set it as
- Run the flask server with
python app.py
- Set the phone as a hotspot
- Connect the computer to the phone's hotspot
- Make sure that in app.py, the host is set to 0.0.0.0
- Take the secondary ip in the print when the server starts
- On the phone, go to the ip address of the computer and the port 8000 like the print says
- Proffit.