mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
26 lines
545 B
Python
26 lines
545 B
Python
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
|