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 a07ab84 commit c949b9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Video_Killed_The_Radio_Star_Defusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,11 @@
"\n",
" # I give up.\n",
" def get_image_for_prompt(*args, **kargs):\n",
" # ugly hotfix. todo: unify function signatures...\n",
" if 'init_image' in kargs:\n",
" img = kargs.pop('init_image')\n",
" if img:\n",
" kargs['image'] = img\n",
" result = hf_helper.get_image_for_prompt(*args, **kargs)\n",
" return result.images\n",
"\n",
Expand Down

0 comments on commit c949b9f

Please sign in to comment.