Skip to content

Commit

Permalink
fix stuck caption bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx authored Oct 11, 2022
1 parent e494b5f commit aac4b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Video_Killed_The_Radio_Star_Defusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@
" images = [Image.open(fp) for fp in im_paths]\n",
" \n",
" if add_caption:\n",
" rec = prompt_starts[idx]\n",
" images = [add_caption2image(im, rec['prompt']) for im in images]\n",
"\n",
" # to do: persist the ordering in the storyboard\n",
Expand Down Expand Up @@ -1349,4 +1350,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit aac4b3e

Please sign in to comment.