Mohan-diffuser commited on
Commit
df84d52
·
verified ·
1 Parent(s): e4e44e7

Update README.md

Browse files

```python
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Mohan-diffuser/lora_platypus_sd_15")

prompt = "platypus"
image = pipe(prompt).images[0]

```

Files changed (1) hide show
  1. README.md +5 -1
README.md CHANGED
@@ -11,6 +11,10 @@ widget:
11
  base_model: stable-diffusion-v1-5/stable-diffusion-v1-5
12
  instance_prompt: platypus
13
  license: mit
 
 
 
 
14
  ---
15
  # LoRA_platypus
16
 
@@ -25,4 +29,4 @@ You should use `platypus` to trigger the image generation.
25
  ## Download model
26
 
27
 
28
- [Download](/Mohan-diffuser/lora_platypus_sd_15/tree/main) them in the Files & versions tab.
 
11
  base_model: stable-diffusion-v1-5/stable-diffusion-v1-5
12
  instance_prompt: platypus
13
  license: mit
14
+ language:
15
+ - en
16
+ pipeline_tag: text-to-image
17
+ library_name: diffusers
18
  ---
19
  # LoRA_platypus
20
 
 
29
  ## Download model
30
 
31
 
32
+ [Download](/Mohan-diffuser/lora_platypus_sd_15/tree/main) them in the Files & versions tab.