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

This commit is contained in:
Tian Yiyan authored and GitHub committed 2024-04-24 10:21:47 +09:00
1 parent 34a9acebb4
commit a367c6e057
1 file changed
+1 -1
+1 -1
View File
@@ -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) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.