Improved the prompt handeling of ideogram4 model. Now used advanced prompts class to store them smaller and allow longer prompts
This commit is contained in:
1 parent
2ddc2e1318
commit
6a8d9333b6
5 files changed
+75
-40
No files matched your search
@@ -255,6 +255,10 @@ class BaseModel:
|
||||
@property
|
||||
def is_lumina2(self):
|
||||
return self.arch == 'lumina2'
|
||||
|
||||
@property
|
||||
def text_embedding_space_version(self):
|
||||
return self.arch
|
||||
|
||||
def get_bucket_divisibility(self):
|
||||
if self.vae is None:
|
||||
|
||||
Reference in new issue
Block a user