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.

260 B
Raw Blame
from configs import dify_config
from dify_app import DifyApp


def is_enabled() -> bool:
    return dify_config.API_COMPRESSION_ENABLED


def init_app(app: DifyApp):
    from flask_compress import Compress

    compress = Compress()
    compress.init_app(app)