This commit is contained in:
Artiprocher
2024-08-02 13:47:07 +08:00
parent f189f9f1be
commit 6877b460c4
2 changed files with 6 additions and 1 deletions

View File

@@ -47,6 +47,5 @@ class Annotator:
detect_resolution = self.detect_resolution if self.detect_resolution is not None else min(width, height)
image = self.processor(image, detect_resolution=detect_resolution, image_resolution=min(width, height), **kwargs)
image = image.resize((width, height))
image.save("/mnt/zhongjie/DiffSynth-Studio-kolors/DiffSynth-Studio/input.jpg")
return image