From 765f71ddc70bddcc0404c6c95e1a79977893556d Mon Sep 17 00:00:00 2001 From: ty0x2333 Date: Wed, 24 Apr 2024 08:33:30 +0800 Subject: [PATCH] Fix the bug of "Unload Models" --- js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common.js b/js/common.js index b4f12c41..03615260 100644 --- a/js/common.js +++ b/js/common.js @@ -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) {