Steps 3-8: config, blueprints (upload/pipeline/api/prompts/health/pages), new app.py (no VM proxy), process.py adapted to generator, VM_API=''

This commit is contained in:
2026-07-14 22:30:58 +04:00
parent e635cb855a
commit 8f688215cc
13 changed files with 733 additions and 125 deletions
+17
View File
@@ -0,0 +1,17 @@
"""Регистрация всех blueprint'ов."""
def register_routes(app):
from app.routes.upload_bp import upload_bp
from app.routes.pipeline_bp import pipeline_bp
from app.routes.api_bp import api_bp
from app.routes.prompts_bp import prompts_bp
from app.routes.health_bp import health_bp
from app.routes.pages_bp import pages_bp
app.register_blueprint(upload_bp)
app.register_blueprint(pipeline_bp)
app.register_blueprint(api_bp)
app.register_blueprint(prompts_bp)
app.register_blueprint(health_bp)
app.register_blueprint(pages_bp)