mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-24 13:34:44 +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…
x
Reference in New Issue
Block a user