Browse Source

fix: `/free` handler function name

pull/2468/head
ramyma 11 months ago
parent
commit
af94eb14e3
  1. 2
      server.py

2
server.py

@ -508,7 +508,7 @@ class PromptServer():
return web.Response(status=200) return web.Response(status=200)
@routes.post("/free") @routes.post("/free")
async def post_interrupt(request): async def post_free(request):
json_data = await request.json() json_data = await request.json()
unload_models = json_data.get("unload_models", False) unload_models = json_data.get("unload_models", False)
free_memory = json_data.get("free_memory", False) free_memory = json_data.get("free_memory", False)

Loading…
Cancel
Save