Fix the bug of "Unload Models"

This commit is contained in:
ty0x2333 2024-04-24 08:33:30 +08:00
parent 9648e8c4df
commit 765f71ddc7

View File

@ -154,7 +154,7 @@ export async function free_models() {
let res = await api.fetchApi(`/free`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: '{}'
body: '{"unload_models": true}'
});
if(res.status == 200) {