mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-19 03:13:01 +08:00
Fix the bug of "Unload Models" (#606)
This commit is contained in:
parent
34a9acebb4
commit
a367c6e057
@ -154,7 +154,7 @@ export async function free_models() {
|
|||||||
let res = await api.fetchApi(`/free`, {
|
let res = await api.fetchApi(`/free`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: '{}'
|
body: '{"unload_models": true}'
|
||||||
});
|
});
|
||||||
|
|
||||||
if(res.status == 200) {
|
if(res.status == 200) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user