fix: `/free` handler function name

This commit is contained in:
ramyma 2024-01-06 04:27:09 +02:00
parent 7c9a0f7e0a
commit af94eb14e3
1 changed files with 1 additions and 1 deletions

View File

@ -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)