fix: reload window on gpu update instead of relaunch

This commit is contained in:
Louis 2024-11-12 15:10:13 +07:00
parent cd4f72dd31
commit 818f4757ca

View File

@ -307,7 +307,7 @@ const Advanced = () => {
} }
// Stop any running model to apply the changes // Stop any running model to apply the changes
if (e.target.checked !== gpuEnabled) if (e.target.checked !== gpuEnabled)
stopModel().then(() => window.core?.api?.relaunch()) stopModel().then(() => window.location.reload())
}} }}
/> />
} }