This workshop is an introduction to Flask and API integration.
app.py
static/
style.css
templates/
index.html
- Access our guided slide deck from day-of
- Official Python documentation
- Official Flask documentation
- Official Clarifai API docs
- Official Jinja docs
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
key = 'd8c6adff128c41d8a95a375cea3357dc' # for access to Clarifai's API
- We will be using an image of an apple to test our app during development
apple = "https://thumbs.dreamstime.com/z/perfect-green-appl-apple-isolated-white-background-48734377.jpg"
- python 3.5, 3.6, or 3.7
- see
requirements.txt
Hack@Brown 2020
Workshop: Flask
Date: Sun 11 17 2019
Nicole Cheng
Kevin Du
Katherine Sang