|
|
@ -4,10 +4,23 @@ import os
|
|
|
|
app = Flask(__name__)
|
|
|
|
app = Flask(__name__)
|
|
|
|
UPLOAD_FOLDER = os.path.join("static", "media")
|
|
|
|
UPLOAD_FOLDER = os.path.join("static", "media")
|
|
|
|
media = {
|
|
|
|
media = {
|
|
|
|
"img1.png": ["strike", "operator", "operator strike", "union"],
|
|
|
|
"beer.gif": ["beer"],
|
|
|
|
"img2.png": ["emergency beer", "beer", "cafe de bel", "bell"],
|
|
|
|
"bell.gif": ["beer", "cafe de bel", "bell"],
|
|
|
|
"knot-video.mp4": ["knot"],
|
|
|
|
"box.gif": ["box"],
|
|
|
|
"img3.png": ["operator", "worker", "woman"]
|
|
|
|
"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"]
|
|
|
|
# media = ["operator", "worker", "woman"]
|
|
|
|
|
|
|
|
|
|
|
|