From 2807be61591261ab106066bc674c2820553d8840 Mon Sep 17 00:00:00 2001 From: ploedige Date: Fri, 13 Jan 2023 09:16:09 +0000 Subject: [PATCH] started implementation of website --- website/app.py | 4 ++-- ... really close upcartoon.png => dinosaur_face.png} | Bin website/template/index.html | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename website/static/{DALL·E 2023-01-13 17.49.11 - dinosaur face frontal really close upcartoon.png => dinosaur_face.png} (100%) create mode 100644 website/template/index.html diff --git a/website/app.py b/website/app.py index c88d035..66af71f 100644 --- a/website/app.py +++ b/website/app.py @@ -1,10 +1,10 @@ -from flask import Flask +from flask import Flask, render_template app = Flask(__name__) @app.route('/') def index(): - return 'Hello world' + return render_template(index.html) if __name__ == '__main__': app.run(debug=True, port=5000, host='0.0.0.0') diff --git a/website/static/DALL·E 2023-01-13 17.49.11 - dinosaur face frontal really close upcartoon.png b/website/static/dinosaur_face.png similarity index 100% rename from website/static/DALL·E 2023-01-13 17.49.11 - dinosaur face frontal really close upcartoon.png rename to website/static/dinosaur_face.png diff --git a/website/template/index.html b/website/template/index.html new file mode 100644 index 0000000..626516a --- /dev/null +++ b/website/template/index.html @@ -0,0 +1 @@ +Dinosaur Face \ No newline at end of file