Commit ·
f1e5146
1
Parent(s): aa18da9
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,6 +20,7 @@ tags:
|
|
| 20 |
### Unrolled loop
|
| 21 |
|
| 22 |
```python
|
|
|
|
| 23 |
from diffusers import UNetUnconditionalModel, DDIMScheduler, VQModel
|
| 24 |
import torch
|
| 25 |
import PIL.Image
|
|
@@ -77,6 +78,7 @@ image_pil.save(f"generated_image_{seed}.png")
|
|
| 77 |
### pipeline
|
| 78 |
|
| 79 |
```python
|
|
|
|
| 80 |
from diffusers import LatentDiffusionUncondPipeline
|
| 81 |
import torch
|
| 82 |
import PIL.Image
|
|
|
|
| 20 |
### Unrolled loop
|
| 21 |
|
| 22 |
```python
|
| 23 |
+
!pip install git+https://github.com/huggingface/diffusers.git
|
| 24 |
from diffusers import UNetUnconditionalModel, DDIMScheduler, VQModel
|
| 25 |
import torch
|
| 26 |
import PIL.Image
|
|
|
|
| 78 |
### pipeline
|
| 79 |
|
| 80 |
```python
|
| 81 |
+
!pip install git+https://github.com/huggingface/diffusers.git
|
| 82 |
from diffusers import LatentDiffusionUncondPipeline
|
| 83 |
import torch
|
| 84 |
import PIL.Image
|