mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
154bb53538
commit
35bf7fc94e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue