Flask

Super scrappy but easy to get started.

Worked on a canvas sketching combined with Stable Diffusion We used this:https://stackoverflow.com/questions/26070547/decoding-base64-from-post-to-use-in-pil

Use this as a sort of template:

from flask import Flask, render_template
import os
 
app = Flask(__name__)
 
 
@app.route("/")
def home():
    return render_template('home.html')
 
# @app.route("/graphs")
# def graphs():
#     return render_template('graphs.html')
 
 
if __name__ == "__main__":
    app.run(host="0.0.0.0", debug=True)