Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 363 Bytes

File metadata and controls

15 lines (7 loc) · 363 Bytes

How to install NLTK:

Run python3 shell and run nltk.download() to download all models and stuff initially.

make sure to:

export GOOGLE_APPLICATION_CREDENTIALS=creds.json

first.

Sample curl to test locally:

curl -X POST http://0.0.0.0:5000/ -H 'Content-Type: multipart/form-data' -F 'question=What do I have in my pantry?' -F 'image=@testimages/pantry.jpg'