You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
394 B
Python
16 lines
394 B
Python
# This is a flask application that overlaps uploaded images and text on top of images laid out in a grid on the browser.
|
|
|
|
from flask import Flask
|
|
from flask import request
|
|
from flask import render_template
|
|
import glob
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def overlap():
|
|
images = glob.glob('./static/img/*.png')
|
|
print(images)
|
|
|
|
return render_template("mosaic.html", images=images)
|