disable WebUI Option of WebGPU Mode (webgpu not supported yet)
This commit is contained in:
parent
d249a4c29a
commit
0594290b92
@ -442,7 +442,8 @@ const Configs: FC = observer(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="flex flex-row-reverse sm:fixed bottom-2 right-2">
|
<div className="flex flex-row-reverse sm:fixed bottom-2 right-2">
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Checkbox className="select-none"
|
{selectedConfig.modelParameters.device !== 'WebGPU'
|
||||||
|
&& <Checkbox className="select-none"
|
||||||
size="large" label={t('Enable WebUI')}
|
size="large" label={t('Enable WebUI')}
|
||||||
checked={selectedConfig.enableWebUI}
|
checked={selectedConfig.enableWebUI}
|
||||||
onChange={(_, data) => {
|
onChange={(_, data) => {
|
||||||
@ -450,7 +451,7 @@ const Configs: FC = observer(() => {
|
|||||||
...selectedConfig,
|
...selectedConfig,
|
||||||
enableWebUI: data.checked as boolean
|
enableWebUI: data.checked as boolean
|
||||||
});
|
});
|
||||||
}} />
|
}} />}
|
||||||
<RunButton onClickRun={onClickSave} />
|
<RunButton onClickRun={onClickSave} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user