From a367c6e05714718279164644e44402db7c828b02 Mon Sep 17 00:00:00 2001 From: Tian Yiyan Date: Wed, 24 Apr 2024 09:21:47 +0800 Subject: [PATCH] Fix the bug of "Unload Models" (#606) --- 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) {