from ast import Pass from app import db from app.decorators import permission_required from app.models import Permission, Role, User from app.settings import tasks as settings_tasks from flask import flash, redirect, render_template, url_for from flask_login import login_required from . import bp @bp.before_request @login_required @permission_required(Permission.CONTRIBUTE) def before_request(): pass @bp.route('') def index(): pass @bp.route('/tesseract_ocr_model', methods=['GET', 'POST']) def tesseract_ocr_model(): pass