Example for this model

#9
by eypacha - opened
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
+ ```