fix: version metadata was broken

Fixes #114
pull/118/head
Bryce 2 years ago committed by Bryce Drennan
parent 4610d7f01d
commit e0af5d0089

@ -231,7 +231,9 @@ docker run -it --gpus all -v $HOME/.cache/huggingface:/root/.cache/huggingface -
## ChangeLog
- feature: xformers support
**6.1.1**
- feature: xformers will be used if available (for faster generation)
- fix: version metadata was broken
**6.1.0**
- feature: use different default steps and image sizes depending on sampler and model selceted

@ -263,7 +263,7 @@ class ImagineResult:
sd_version = self.prompt.model
if len(sd_version) > 20:
sd_version = "custom weights"
exif[ExifCodes.Software] = "Imaginairy / Stable Diffusion {sd_version}"
exif[ExifCodes.Software] = f"Imaginairy / Stable Diffusion {sd_version}"
exif[ExifCodes.DateTime] = self.created_at.isoformat(sep=" ")[:19]
exif[ExifCodes.HostComputer] = f"{self.torch_backend}:{self.hardware_name}"
return exif

Loading…
Cancel
Save