mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
fix typo
This commit is contained in:
@@ -44,6 +44,7 @@ def pil_to_temp_file(self, img: Image, dir: str, format="png") -> str: # pylint:
|
||||
filename = str(temp_dir / f"image.{format}")
|
||||
img.save(filename, pnginfo=gr.processing_utils.get_pil_metadata(img))
|
||||
"""
|
||||
folder = dir
|
||||
already_saved_as = getattr(img, 'already_saved_as', None)
|
||||
exists = os.path.isfile(already_saved_as) if already_saved_as is not None else False
|
||||
debug(f'Image lookup: {already_saved_as} exists={exists}')
|
||||
|
||||
Reference in New Issue
Block a user