token placholder for AI menu with html

This commit is contained in:
2021-01-12 23:58:27 +11:00
parent ed3a85b8f0
commit 5bf41ce6a8
3 changed files with 33 additions and 7 deletions

15
ai.py Normal file
View File

@@ -0,0 +1,15 @@
from wtforms import SubmitField, StringField, HiddenField, validators, Form
from flask_wtf import FlaskForm
from flask import request, render_template, redirect
from main import db, app, ma
from sqlalchemy import Sequence
from sqlalchemy.exc import SQLAlchemyError
from status import st, Status
################################################################################
# /refimg/<id> -> GET/POST(save or delete) -> shows/edits/delets a single
# refimg
################################################################################
@app.route("/aistats", methods=["GET", "POST"])
def aistats():
return render_template("aistats.html", page_title='Placeholder', alert=st.GetAlert(), message=st.GetMessage() )