fix: run mode takes effect immediately
This commit is contained in:
parent
19879ef279
commit
67aa89c948
@ -306,7 +306,7 @@ const Advanced = () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// Stop any running model to apply the changes
|
// Stop any running model to apply the changes
|
||||||
if (e.target.checked !== gpuEnabled) stopModel()
|
if (e.target.checked !== gpuEnabled) stopModel().then(() => window.core?.api?.relaunch())
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user