Skip to content

Commit

Permalink
Merge pull request #69 from nateraw/bugfixes
Browse files Browse the repository at this point in the history
Bugfixes
  • Loading branch information
nateraw authored Oct 10, 2022
2 parents fbf2711 + 8e9c2b9 commit 959a501
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion stable_diffusion_videos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __dir__():
"make_video_pyav",
"get_timesteps_arr",
],
"upsampling": ["PipelineRealESRGAN"],
"upsampling": ["RealESRGANModel"],
},
)

Expand Down
11 changes: 0 additions & 11 deletions stable_diffusion_videos/stable_diffusion_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,14 +808,3 @@ def __init__(self):

def forward(self, images=None, **kwargs):
return images, [False]


class NoCheck(ModelMixin):
"""Can be used in place of safety checker. Use responsibly and at your own risk."""

def __init__(self):
super().__init__()
self.register_parameter(name="asdf", param=torch.nn.Parameter(torch.randn(3)))

def forward(self, images=None, **kwargs):
return images, [False]

0 comments on commit 959a501

Please sign in to comment.