1
0
mirror of https://github.com/karl0ss/ai_image_frame_server.git synced 2025-07-05 05:59:08 +01:00

9 lines
201 B
Python
Raw Permalink Normal View History

2025-06-24 13:01:39 +01:00
from flask import Blueprint
from libs.comfyui import cancel_current_job
bp = Blueprint("job_routes", __name__)
@bp.route("/cancel", methods=["GET"])
def cancel_job():
return cancel_current_job()