|
|
|
@ -4,10 +4,23 @@ import os
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
|
UPLOAD_FOLDER = os.path.join("static", "media")
|
|
|
|
|
media = {
|
|
|
|
|
"img1.png": ["strike", "operator", "operator strike", "union"],
|
|
|
|
|
"img2.png": ["emergency beer", "beer", "cafe de bel", "bell"],
|
|
|
|
|
"knot-video.mp4": ["knot"],
|
|
|
|
|
"img3.png": ["operator", "worker", "woman"]
|
|
|
|
|
"beer.gif": ["beer"],
|
|
|
|
|
"bell.gif": ["beer", "cafe de bel", "bell"],
|
|
|
|
|
"box.gif": ["box"],
|
|
|
|
|
"cafe-de-bel": ["coffee", "bell", "beer", "cafe de bel"],
|
|
|
|
|
"cloud-storm.gif": ["cloud", "storm"],
|
|
|
|
|
"cloud.gif": ["cloud"],
|
|
|
|
|
"coffee.gif": ["coffee", "cafe fe bel"],
|
|
|
|
|
"er-beer.gif": ["emergency beer"],
|
|
|
|
|
"hands.gif": ["joking", "okay", "sure"],
|
|
|
|
|
"hurry.gif": ["time", "hurry", "pebbles"],
|
|
|
|
|
"iloveu.gif": ["i love you", "i see you", "i feel you", "i miss you"],
|
|
|
|
|
"oper-strike.gif": ["operator", "worker", "woman", "strike"],
|
|
|
|
|
"operator.gif": ["operator", "worker", "woman"],
|
|
|
|
|
"pdf-impose.gif": ["pdf impose", "makarena"],
|
|
|
|
|
"pebbles.gif": ["time", "clockwise", "anticlockwise"],
|
|
|
|
|
"strike.gif": ["strike", "worker", "woman", "operator"]
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
# media = ["operator", "worker", "woman"]
|
|
|
|
|
|
|
|
|
|