Skip to content

Commit d46d78c

Browse files
Hotfix textual inv logging (huggingface#2183)
1 parent 05168e5 commit d46d78c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/textual_inversion/textual_inversion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ def main():
783783
pipeline = DiffusionPipeline.from_pretrained(
784784
args.pretrained_model_name_or_path,
785785
text_encoder=accelerator.unwrap_model(text_encoder),
786+
tokenizer=tokenizer,
786787
revision=args.revision,
787788
)
788789
pipeline.scheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config)

0 commit comments

Comments
 (0)