Skip to content

Commit 0f8547c

Browse files
authored
Add syntax highlighting to code blocks in README (#131)
1 parent 343180c commit 0f8547c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In order to get started, we recommend taking a look at two notebooks:
3838

3939
If you want to run the code yourself 💻, you can try out:
4040
- [Text-to-Image Latent Diffusion](https://huggingface.co/CompVis/ldm-text2im-large-256)
41-
```
41+
```python
4242
# !pip install diffusers transformers
4343
from diffusers import DiffusionPipeline
4444

@@ -56,7 +56,7 @@ for idx, image in enumerate(images):
5656
image.save(f"squirrel-{idx}.png")
5757
```
5858
- [Unconditional Diffusion with discrete scheduler](https://huggingface.co/google/ddpm-celebahq-256)
59-
```
59+
```python
6060
# !pip install diffusers
6161
from diffusers import DDPMPipeline, DDIMPipeline, PNDMPipeline
6262

@@ -120,7 +120,7 @@ The class provides functionality to compute previous image according to alpha, b
120120

121121
## Installation
122122

123-
```
123+
```bash
124124
pip install diffusers # should install diffusers 0.1.2
125125
```
126126

0 commit comments

Comments
 (0)