Skip to content

Commit

Permalink
Try workaround for nbconvert --execute deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul committed Mar 17, 2024
1 parent d50cd52 commit 0da4263
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/examples/pitch_manipulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,20 @@
" audio_file=ipywidgets.Dropdown(options=sorted(glob.glob(\"audio/*.wav\")), value=\"audio/4_b.wav\"),\n",
" factor=ipywidgets.FloatSlider(min=0.25, max=4, step=0.05, value=1.5))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"nbsphinx": "hidden",
"tags": []
},
"outputs": [],
"source": [
"# Workaround deadlock with ipywidgets.interact and IPython.display.Audio (https://github.com/jupyter/nbconvert/issues/2029)\n",
"import time\n",
"time.sleep(2)"
]
}
],
"metadata": {
Expand Down

0 comments on commit 0da4263

Please sign in to comment.