Files
Document_translator/wsgi.py
beabigegg ed9250db1a CHECKOK
2025-09-12 11:50:43 +08:00

16 lines
334 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
WSGI entrypoint for production (Gunicorn)
This creates the Flask application via the application factory in app/__init__.py,
so we avoid importing the top-level app.py to prevent name clashes with the
package module name "app".
"""
from app import create_app
app = create_app()