Skip to content

Commit

Permalink
whoops, broke init_image gen w prompt_lag commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx committed Oct 8, 2022
1 parent c70f7c5 commit f43a7d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Video_Killed_The_Radio_Star_Defusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,15 @@
" rec_prev = prompt_starts[idx -1]\n",
" prompt = f\"{rec_prev['prompt']}, {prompt}\"\n",
" if rec.get('frame0_fpath') is None:\n",
" init_image = list(get_image_for_prompt(\n",
" prompt,\n",
" height=height,\n",
" width=width,\n",
" )\n",
" )[0]\n",
" # this shouldn't be necessary, but is a consequence of\n",
" # the globbing thing we're doing atm\n",
" if 'anchor' not in str(rec.get('frame0_fpath')):\n",
" rec['frame0_fpath'] = save_frame(\n",
" init_image,\n",
" idx,\n",
Expand Down

0 comments on commit f43a7d1

Please sign in to comment.