mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
cleanup
This commit is contained in:
@@ -223,7 +223,6 @@ class PromptEmbedder:
|
||||
batch = getattr(self, key)
|
||||
res = []
|
||||
try:
|
||||
print(batch)
|
||||
if len(batch) == 0 or len(batch[0]) == 0:
|
||||
return None # flux has no negative prompts
|
||||
if isinstance(batch[0][0], list) and len(batch[0][0]) == 2 and isinstance(batch[0][0][1], torch.Tensor) and batch[0][0][1].shape[0] == 32:
|
||||
|
||||
Reference in New Issue
Block a user