lavaman131
commited on
Commit
•
37c57c4
1
Parent(s):
da5517b
Update README.md
Browse files
README.md
CHANGED
@@ -44,6 +44,7 @@ device = torch.device("cuda")
|
|
44 |
torch_dtype = torch.float16 if device.type in ["mps", "cuda"] else torch.float32
|
45 |
pipeline = StableDiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype).to(device)
|
46 |
image = pipeline("PROMPT GOES HERE").images[0]
|
|
|
47 |
```
|
48 |
|
49 |
#### Limitations and bias
|
|
|
44 |
torch_dtype = torch.float16 if device.type in ["mps", "cuda"] else torch.float32
|
45 |
pipeline = StableDiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype).to(device)
|
46 |
image = pipeline("PROMPT GOES HERE").images[0]
|
47 |
+
image.save("output.png")
|
48 |
```
|
49 |
|
50 |
#### Limitations and bias
|