aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TextToImage
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-22 11:10:24 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-10-22 11:10:24 +0200
commit9787f9dba010f17bb53e88989716c94d677c0916 (patch)
tree7169560aee7c0504cba33a442cef6439ad621054 /lib/private/TextToImage
parentcee5aa84f02de18084067a2e33e8d252f2362be4 (diff)
downloadnextcloud-server-9787f9dba010f17bb53e88989716c94d677c0916.tar.gz
nextcloud-server-9787f9dba010f17bb53e88989716c94d677c0916.zip
enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/TextToImage')
-rw-r--r--lib/private/TextToImage/Manager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/TextToImage/Manager.php b/lib/private/TextToImage/Manager.php
index 0b61d1af246..c05e6e6972c 100644
--- a/lib/private/TextToImage/Manager.php
+++ b/lib/private/TextToImage/Manager.php
@@ -64,6 +64,9 @@ class Manager implements IManager {
$this->appData = $this->appDataFactory->get('core');
}
+ /**
+ * @inerhitDocs
+ */
public function getProviders(): array {
$context = $this->coordinator->getRegistrationContext();
if ($context === null) {
@@ -90,6 +93,9 @@ class Manager implements IManager {
return $this->providers;
}
+ /**
+ * @inheritDoc
+ */
public function hasProviders(): bool {
$context = $this->coordinator->getRegistrationContext();
if ($context === null) {