fix: `/free` handler function name
This commit is contained in:
parent
7c9a0f7e0a
commit
af94eb14e3
|
@ -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…
Reference in New Issue