Fix the bug of "Unload Models" (#606)

This commit is contained in:
Tian Yiyan 2024-04-24 09:21:47 +08:00 committed by GitHub
parent 34a9acebb4
commit a367c6e057
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {