Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

fix: `/free` handler function name

ramymaaf94eb14e3b4
diff --git a/server.py b/server.py
index acb8875d2..5b821dcbf 100644
--- a/server.py
+++ b/server.py
@@ -508,7 +508,7 @@ class PromptServer():
return web.Response(status=200)
@routes.post("/free")
- async def post_interrupt(request):
+ async def post_free(request):
json_data = await request.json()
unload_models = json_data.get("unload_models", False)
free_memory = json_data.get("free_memory", False)