Skip to content

Commit 951a96b

Browse files
committed
fix
1 parent c4a04b4 commit 951a96b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_toctree.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
newlocal: unit4/2
4141
title: DDIM Inversion
4242
- local: unit4/02_diffusion_for_audio
43-
newlocal: unit4/1
43+
newlocal: unit4/3
4444
title: Diffusion for Audio
4545

4646
- title: Events related to the course

unit4/02_diffusion_for_audio.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,15 +1129,15 @@
11291129
"\n",
11301130
"## Usage\n",
11311131
"\n",
1132-
"```python\n",
1132+
"<pre>\n",
11331133
"from IPython.display import Audio\n",
11341134
"from diffusers import DiffusionPipeline\n",
11351135
"\n",
11361136
"pipe = DiffusionPipeline.from_pretrained(\"{hub_model_id}\")\n",
11371137
"output = pipe()\n",
11381138
"display(output.images[0])\n",
11391139
"display(Audio(output.audios[0], rate=pipe.mel.get_sample_rate()))\n",
1140-
"```\n",
1140+
"</pre>\n",
11411141
"\"\"\"\n",
11421142
"\n",
11431143
"card = ModelCard(content)\n",

0 commit comments

Comments
 (0)