Skip to content

Commit

Permalink
Merge pull request #123 from nateraw/hotfix-0.7.1
Browse files Browse the repository at this point in the history
Hotfix 0.7.1
  • Loading branch information
nateraw authored Dec 5, 2022
2 parents c1871c1 + 21fa322 commit 85cd3fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable_diffusion_videos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ def __dir__():
},
)

__version__ = "0.7.0"
__version__ = "0.7.1"
3 changes: 2 additions & 1 deletion stable_diffusion_videos/image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
from pathlib import Path
from huggingface_hub import CommitOperationAdd, create_repo, create_commit
from diffusers import __version__ as diffusers_version
import torch

from .upsampling import RealESRGANModel
Expand Down Expand Up @@ -170,7 +171,7 @@ def generate_images(
width=width,
scheduler=dict(pipeline.scheduler.config),
tiled=pipeline.tiled,
diffusers_version=pipeline.config._diffusers_version,
diffusers_version=diffusers_version,
device_name=torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'unknown',
)
prompt_config_path.write_text(json.dumps(cfg, indent=2, sort_keys=False))
Expand Down

0 comments on commit 85cd3fa

Please sign in to comment.