mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-06-27 02:39:13 +01:00
9 lines
201 B
Python
9 lines
201 B
Python
|
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()
|