cfchase commited on
Commit
5c637f5
·
1 Parent(s): 5ef842a

Added readme text

Browse files
Files changed (2) hide show
  1. README.md +37 -1
  2. redhat-dog-small.jpg +0 -0
README.md CHANGED
@@ -1,3 +1,39 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - stable-diffusion
5
+ - stable-diffusion-diffusers
6
+ - text-to-image
7
+ inference: true
8
+ extra_gated_prompt: |-
9
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
10
+ The CreativeML OpenRAIL License specifies:
11
+
12
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
13
+ 2. CompVis claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
14
+ 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
15
+ Please read the full license carefully here: https://huggingface.co/spaces/CompVis/stable-diffusion-license
16
  ---
17
+
18
+ # Red Hat Teddy
19
+ ## Fine Tuned from Stable Diffusion v1-5
20
+
21
+ This model was based on [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) and finetuned to generate pictures of `rhteddy`.
22
+
23
+ ![redhat dog](redhat-dog-small.jpg)
24
+
25
+
26
+
27
+ ### Diffusers
28
+ ```py
29
+ from diffusers import StableDiffusionPipeline
30
+ import torch
31
+
32
+ model_id = "cfchase/stable-diffusion-rhteddy"
33
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
34
+ pipe = pipe.to("cuda")
35
+
36
+ prompt = "a photo of rhteddy on the beach"
37
+ image = pipe(prompt).images[0]
38
+ image
39
+ ```
redhat-dog-small.jpg ADDED