Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Apr 8, 2024
1 parent c4a04b4 commit 951a96b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
newlocal: unit4/2
title: DDIM Inversion
- local: unit4/02_diffusion_for_audio
newlocal: unit4/1
newlocal: unit4/3
title: Diffusion for Audio

- title: Events related to the course
Expand Down
4 changes: 2 additions & 2 deletions unit4/02_diffusion_for_audio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1129,15 +1129,15 @@
"\n",
"## Usage\n",
"\n",
"```python\n",
"<pre>\n",
"from IPython.display import Audio\n",
"from diffusers import DiffusionPipeline\n",
"\n",
"pipe = DiffusionPipeline.from_pretrained(\"{hub_model_id}\")\n",
"output = pipe()\n",
"display(output.images[0])\n",
"display(Audio(output.audios[0], rate=pipe.mel.get_sample_rate()))\n",
"```\n",
"</pre>\n",
"\"\"\"\n",
"\n",
"card = ModelCard(content)\n",
Expand Down

0 comments on commit 951a96b

Please sign in to comment.