Skip to content

Commit

Permalink
fix: /free handler function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyma committed Jan 6, 2024
1 parent 7c9a0f7 commit af94eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ async def post_interrupt(request):
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)
Expand Down

0 comments on commit af94eb1

Please sign in to comment.