improve built-in user guides

This commit is contained in:
josc146
2023-06-13 23:18:04 +08:00
parent b52bae6e17
commit 366e67bb6e
4 changed files with 44 additions and 42 deletions

View File

@@ -191,7 +191,7 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
}).catch(() => {
commonStore.setStatus({ status: ModelStatus.Offline });
if (commonStore.platform === 'windows')
toast(t('Failed to switch model, please try starting the program with administrator privileges.'), { type: 'error' });
toast(t('Failed to switch model, please try starting the program with administrator privileges or increasing your virtual memory.'), { type: 'error' });
else
toast(t('Failed to switch model'), { type: 'error' });
});