mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Thumbnail size = 256px
This commit is contained in:
parent
d987d0a336
commit
1071a12777
@ -1509,7 +1509,7 @@ def save_thumbnail(
|
|||||||
image: ImageType,
|
image: ImageType,
|
||||||
filename: str,
|
filename: str,
|
||||||
path: str,
|
path: str,
|
||||||
size: int = 128,
|
size: int = 256,
|
||||||
) -> str:
|
) -> str:
|
||||||
base_filename = os.path.splitext(filename)[0]
|
base_filename = os.path.splitext(filename)[0]
|
||||||
thumbnail_path = os.path.join(path, base_filename + ".webp")
|
thumbnail_path = os.path.join(path, base_filename + ".webp")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user