potatopizza
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -14,12 +14,12 @@ It can generate images in various artistic styles learned from WikiArt.
|
|
14 |
|
15 |
### Model Description
|
16 |
|
17 |
-
- **Developed by:**
|
18 |
- **Funded by [optional]:** N/A
|
19 |
-
- **Shared by [optional]:**
|
20 |
- **Model type:** Text-to-Image
|
21 |
- **Language(s) (NLP):** N/A (this is a text-to-image generation model)
|
22 |
-
- **License:** [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
23 |
- **Finetuned from model:** [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|
24 |
|
25 |
### Model Sources
|
@@ -41,7 +41,7 @@ It can generate images in various artistic styles learned from WikiArt.
|
|
41 |
|
42 |
## How to Get Started with the Model
|
43 |
|
44 |
-
|
45 |
|
46 |
```python
|
47 |
from diffusers import StableDiffusionPipeline
|
@@ -53,6 +53,6 @@ pipe = StableDiffusionPipeline.from_pretrained(
|
|
53 |
torch_dtype=torch.float16
|
54 |
).to("cuda")
|
55 |
|
56 |
-
prompt = "A beautiful painting of a sunset over the mountains, in the style of
|
57 |
image = pipe(prompt).images[0]
|
58 |
image.save("example.png")
|
|
|
14 |
|
15 |
### Model Description
|
16 |
|
17 |
+
- **Developed by:** potatopizza
|
18 |
- **Funded by [optional]:** N/A
|
19 |
+
- **Shared by [optional]:** potatopizza
|
20 |
- **Model type:** Text-to-Image
|
21 |
- **Language(s) (NLP):** N/A (this is a text-to-image generation model)
|
22 |
+
- **License:** [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
23 |
- **Finetuned from model:** [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|
24 |
|
25 |
### Model Sources
|
|
|
41 |
|
42 |
## How to Get Started with the Model
|
43 |
|
44 |
+
Use Model code:
|
45 |
|
46 |
```python
|
47 |
from diffusers import StableDiffusionPipeline
|
|
|
53 |
torch_dtype=torch.float16
|
54 |
).to("cuda")
|
55 |
|
56 |
+
prompt = "A beautiful painting of a sunset over the mountains, in the style of eric fischl"
|
57 |
image = pipe(prompt).images[0]
|
58 |
image.save("example.png")
|