yunzi7's picture
load model
fcfe249
raw
history blame
634 Bytes
from flask import Blueprint
from flask import flash
from flask import g
from flask import redirect
from flask import render_template
from flask import request
from flask import url_for
from werkzeug.exceptions import abort
from flask import session
from .auth import login_required
from .db import get_db
bp = Blueprint("qr", __name__, url_prefix="/qr")
@bp.route("/", methods=["GET", "POST"])
def qr() -> None:
match request.method:
case "GET":
return render_template("qr.html")
case "POST": # qr.htmlμ—μ„œ `λ‹€μŒ` λ²„νŠΌ λˆŒλ €μ„ λ•Œ
return render_template("introduction.html")