Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

227 B
Raw Blame
from flask import Flask

from core.db.session_factory import configure_session_factory
from extensions.ext_database import db


def init_app(app: Flask):
    with app.app_context():
        configure_session_factory(db.engine)