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,
|
||||
filename: str,
|
||||
path: str,
|
||||
size: int = 128,
|
||||
size: int = 256,
|
||||
) -> str:
|
||||
base_filename = os.path.splitext(filename)[0]
|
||||
thumbnail_path = os.path.join(path, base_filename + ".webp")
|
||||
|
Loading…
Reference in New Issue
Block a user