From ac834e5f35f8ddc1294c061ffbcaabe69452b746 Mon Sep 17 00:00:00 2001 From: David Marx Date: Sat, 8 Oct 2022 15:55:40 -0700 Subject: [PATCH] tidy dict --- Video_Killed_The_Radio_Star_Defusion.ipynb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Video_Killed_The_Radio_Star_Defusion.ipynb b/Video_Killed_The_Radio_Star_Defusion.ipynb index 6ab2deb..ebe96c9 100644 --- a/Video_Killed_The_Radio_Star_Defusion.ipynb +++ b/Video_Killed_The_Radio_Star_Defusion.ipynb @@ -333,8 +333,7 @@ "\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", @@ -342,9 +341,9 @@ " , 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",