1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

More work on UI

This commit is contained in:
pythongosssss
2023-03-03 15:20:49 +00:00
parent 5e66b68d9e
commit a5c5c97ded
7 changed files with 320 additions and 280 deletions

View File

@@ -144,7 +144,12 @@ class PromptServer():
self.prompt_queue.delete_queue_item(delete_func)
return web.Response(status=200)
@routes.post("/interrupt")
async def post_interrupt(request):
nodes.interrupt_processing()
return web.Response(status=200)
@routes.post("/history")
async def post_history(request):
json_data = await request.json()