mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(settings): Remove STT admin settings
taskprocessing is transparent to STT providers so specific STT settings are obsolete Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
This commit is contained in:
parent
de117d4654
commit
b06302e024
1 changed files with 0 additions and 21 deletions
|
|
@ -50,24 +50,6 @@
|
|||
</div>
|
||||
</draggable>
|
||||
</NcSettingsSection>
|
||||
<NcSettingsSection :name="t('settings', 'Speech-To-Text')"
|
||||
:description="t('settings', 'Speech-To-Text can be implemented by different apps. Here you can set which app should be used.')">
|
||||
<template v-for="provider in sttProviders">
|
||||
<NcCheckboxRadioSwitch :key="provider.class"
|
||||
:checked.sync="settings['ai.stt_provider']"
|
||||
:value="provider.class"
|
||||
name="stt_provider"
|
||||
type="radio"
|
||||
@update:checked="saveChanges">
|
||||
{{ provider.name }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
</template>
|
||||
<template v-if="!hasStt">
|
||||
<NcNoteCard type="info">
|
||||
{{ t('settings', 'None of your currently installed apps provide Speech-To-Text functionality') }}
|
||||
</NcNoteCard>
|
||||
</template>
|
||||
</NcSettingsSection>
|
||||
<NcSettingsSection :name="t('settings', 'Image generation')"
|
||||
:description="t('settings', 'Image generation can be implemented by different apps. Here you can set which app should be used.')">
|
||||
<template v-for="provider in text2imageProviders">
|
||||
|
|
@ -162,9 +144,6 @@ export default {
|
|||
}
|
||||
},
|
||||
computed: {
|
||||
hasStt() {
|
||||
return this.sttProviders.length > 0
|
||||
},
|
||||
hasTextProcessing() {
|
||||
return Object.keys(this.settings['ai.textprocessing_provider_preferences']).length > 0 && Array.isArray(this.textProcessingTaskTypes)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue