Skip to content

Commit

Permalink
tidy dict
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx committed Oct 8, 2022
1 parent ac21ea5 commit ac834e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Video_Killed_The_Radio_Star_Defusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -333,18 +333,17 @@
"\n",
"storyboard = OmegaConf.create()\n",
"\n",
"storyboard.params = dict(\n",
"\n",
"d_ = dict(\n",
" # all this does is make it so each of the following lines can be preceded with a comma\n",
" # otw the first parameter would be offset from the other in the colab form\n",
" _=\"\"\n",
"\n",
" , video_url = 'https://www.youtube.com/watch?v=REojIUxX4rw' # @param {type:'string'}\n",
" , audio_fpath = '' # @param {type:'string'}\n",
" , whisper_seg = True # @param {type:'boolean'}\n",
"\n",
" #, use_stability_api = use_stability_api\n",
")\n",
"d_.pop('_')\n",
"storyboard.params = d_\n",
"\n",
"if not storyboard.params.audio_fpath:\n",
" storyboard.params.audio_fpath = None\n",
Expand Down

0 comments on commit ac834e5

Please sign in to comment.