diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-26 11:36:39 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-26 11:39:40 +0200 |
commit | 35bf7fc94e01f2104078928989d581583095690f (patch) | |
tree | 5c14979fc2b95e2a399c9a1a5fc822d683f8a7b9 /apps/settings/lib/Settings/Admin/ArtificialIntelligence.php | |
parent | 154bb535380ad892e66d2a83be3e0622e9d7bba5 (diff) | |
download | nextcloud-server-35bf7fc94e01f2104078928989d581583095690f.tar.gz nextcloud-server-35bf7fc94e01f2104078928989d581583095690f.zip |
fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps/settings/lib/Settings/Admin/ArtificialIntelligence.php')
-rw-r--r-- | apps/settings/lib/Settings/Admin/ArtificialIntelligence.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php index 3a5340eba2e..0af82a74c5e 100644 --- a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php +++ b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php @@ -120,7 +120,7 @@ class ArtificialIntelligence implements IDelegatedSettings { 'ai.stt_provider' => count($sttProviders) > 0 ? $sttProviders[0]['class'] : null, 'ai.textprocessing_provider_preferences' => $textProcessingSettings, 'ai.translation_provider_preferences' => $translationPreferences, - 'ai.text2image_provider' => count($text2imageProviders) > 0 ? $text2imageProviders[0]['class'] : null, + 'ai.text2image_provider' => count($text2imageProviders) > 0 ? $text2imageProviders[0]['id'] : null, ]; foreach ($settings as $key => $defaultValue) { $value = $defaultValue; |