Commit af94eb14 authored by ramyma's avatar ramyma
Browse files

fix: `/free` handler function name

parent 7c9a0f7e
...@@ -508,7 +508,7 @@ class PromptServer(): ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment