Skip to content

Commit

Permalink
'init_image' -> 'image'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx authored Mar 22, 2023
1 parent c22c3ee commit a07ab84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vktrs/hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_image_for_prompt(
prompt,
**kwargs
):
f = self.text2img if kwargs.get('init_image') is None else self.img2img
f = self.text2img if kwargs.get('image') is None else self.img2img
#if kwargs.get('image_consistency') is not None:
#kwargs['strength'] = 1- kwargs['image_consistency']
if kwargs.get('start_schedule') is not None:
Expand Down

0 comments on commit a07ab84

Please sign in to comment.