inpaint model progress

- working with plain prompts, weighted prompts and merge prompts
- not tested with prompt2prompt
This commit is contained in:
Lincoln Stein
2022-10-26 22:40:01 -04:00
parent 2daf187bdb
commit 0d0481ce75
4 changed files with 16 additions and 11 deletions

View File

@ -439,7 +439,7 @@ class FrozenCLIPEmbedder(AbstractEncoder):
param.requires_grad = False
def forward(self, text, **kwargs):
print(f'DEBUG text={text}, max_length={self.max_length}')
batch_encoding = self.tokenizer(
text,
truncation=True,