Skip to content

Commit

Permalink
fix(ViewAdmin): Disable GPU mode when WASM mode is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Nov 19, 2023
1 parent f9ba527 commit 5a0996a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ViewAdmin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
</NcSettingsSection>
<NcSettingsSection :title="t('recognize', 'Tensorflow GPU mode')">
<p>
<NcCheckboxRadioSwitch :checked.sync="settings['tensorflow.gpu']" type="switch" @update:checked="onChange">
<NcCheckboxRadioSwitch :checked.sync="settings['tensorflow.gpu']" type="switch" @update:checked="onChange" :disabled="settings['tensorflow.purejs']">
{{ t('recognize', 'Enable GPU mode') }}
</NcCheckboxRadioSwitch>
</p>
Expand Down

0 comments on commit 5a0996a

Please sign in to comment.