Commit
·
7b2bb2e
1
Parent(s):
66fc654
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,8 +48,8 @@ carbonara pasta with panoramic view of rome at sunset|carbonara pasta with panor
|
|
| 48 |
```python
|
| 49 |
from diffusers import StableDiffusionPipeline
|
| 50 |
|
| 51 |
-
|
| 52 |
pipeline = StableDiffusionPipeline.from_pretrained('dacquaviva/carbonara-pasta').to("cuda")
|
| 53 |
-
image =
|
| 54 |
image.save("./image.png")
|
| 55 |
```
|
|
|
|
| 48 |
```python
|
| 49 |
from diffusers import StableDiffusionPipeline
|
| 50 |
|
| 51 |
+
prompt = "carbonara pasta with panoramic view of rome at sunset"
|
| 52 |
pipeline = StableDiffusionPipeline.from_pretrained('dacquaviva/carbonara-pasta').to("cuda")
|
| 53 |
+
image = pipeline(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
|
| 54 |
image.save("./image.png")
|
| 55 |
```
|