mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
model/unload should also return "OK", consistent with lora/unload
This commit is contained in:
parent
dce32fe2d9
commit
d64459e20d
@ -374,6 +374,8 @@ async def handle_unload_model():
|
||||
async with io_semaphore:
|
||||
await run_in_executor(unload_model)
|
||||
|
||||
return JSONResponse(content="OK")
|
||||
|
||||
|
||||
@app.get("/v1/internal/lora/list", response_model=LoraListResponse, dependencies=check_admin_key)
|
||||
async def handle_list_loras():
|
||||
|
Loading…
Reference in New Issue
Block a user