prompthero eypacha commited on
Commit
506d74f
1 Parent(s): 510c86f

Example for this model (#9)

Browse files

- Example for this model (68e860ea703e6a0d4e7fc9fe7504c1886c0f0e56)


Co-authored-by: Ey Pacha! <eypacha@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -33,10 +33,10 @@ You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/op
33
  ```python
34
  from diffusers import StableDiffusionPipeline
35
  import torch
36
- model_id = "nitrosocke/mo-di-diffusion"
37
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
38
  pipe = pipe.to("cuda")
39
- prompt = "a magical princess with golden hair, modern disney style"
40
  image = pipe(prompt).images[0]
41
- image.save("./magical_princess.png")
42
- ```
 
33
  ```python
34
  from diffusers import StableDiffusionPipeline
35
  import torch
36
+ model_id = "prompthero/midjourney-v4-diffusion "
37
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
38
  pipe = pipe.to("cuda")
39
+ prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
40
  image = pipe(prompt).images[0]
41
+ image.save("./retro_cars.png")
42
+ ```