nousr commited on
Commit
3a1fba5
1 Parent(s): c0bd81b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -1
README.md CHANGED
@@ -1,3 +1,39 @@
1
  ---
2
- license: openrail++
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ thumbnail: "https://huggingface.co/nousr/robo-diffusion/resolve/main/robo_example.png"
5
+ tags:
6
+ - robots
7
+ - stable-diffusion
8
+ - aiart
9
+ - text-to-image
10
+ license: "openrail++"
11
  ---
12
+ # Robo-Diffusion 2 (base) - *Alpha Release*
13
+ A dreambooth-method finetune of stable diffusion that will output cool looking robots when prompted.
14
+
15
+ <img src="https://huggingface.co/nousr/robo-diffusion-2-base/resolve/main/example_grid.png"/>
16
+
17
+ # Usage
18
+ Keep the words `nousr robot` towards the beginning of your prompt to invoke the finetuned style. Use negative prompts to achieve the best result.
19
+
20
+ ```python
21
+ import torch
22
+ from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
23
+
24
+ scheduler = EulerDiscreteScheduler.from_pretrained(MODEL_ID, subfolder="scheduler")
25
+ pipe = StableDiffusionPipeline.from_pretrained("nousr/robo-diffusion-2-base", scheduler=scheduler, torch_dtype=torch.float16, revision="fp16")
26
+ pipe = pipe.to("cuda")
27
+
28
+ prompt = "A realistic photograph of a 3d nousr robot in a modern city. A glossy white and orange nousr robot."
29
+ negative_prompt = "black and white robot, picture frame, a children's drawing in crayon. #Wholesale, Abstract Metal Sculpture. i'm leaving a bad review."
30
+ image = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=32, guidance_scale=5.0).images[0]
31
+
32
+ image.save("robo.png")
33
+ ```
34
+
35
+ # Original Model
36
+ Based on stable diffusion 1.4 can be found [here](https://huggingface.co/nousr/robo-diffusion)
37
+
38
+ ---
39
+ *NOTE: ensure you have read the license and agree to the terms