nateraw commited on
Commit
2ca681d
·
1 Parent(s): 77bd623

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -3
README.md CHANGED
@@ -1,14 +1,34 @@
1
  ---
2
  license: mit
 
 
 
3
  ---
4
- ### zach fox on Stable Diffusion via Dreambooth
5
- #### model by nateraw
6
- This your the Stable Diffusion model fine-tuned the zach fox concept taught to Stable Diffusion with Dreambooth.
 
 
7
  It can be used by modifying the `instance_prompt`: **a photo of sks zach fox**
8
 
9
  You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb).
10
  And you can run your new concept via `diffusers`: [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb), [Spaces with the Public Concepts loaded](https://huggingface.co/spaces/sd-dreambooth-library/stable-diffusion-dreambooth-concepts)
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  Here are the images used for training this concept:
13
  ![image 0](https://huggingface.co/nateraw/zach-fox-v2/resolve/main/concept_images/8.jpeg)
14
  ![image 1](https://huggingface.co/nateraw/zach-fox-v2/resolve/main/concept_images/13.jpeg)
 
1
  ---
2
  license: mit
3
+ language: en
4
+ tags:
5
+ - text-to-image
6
  ---
7
+
8
+ # Zach Fox Stable Diffusion
9
+
10
+ Stable Diffusion v1.5 model fine-tuned to generate pictures of Zach Fox with Dreambooth.
11
+
12
  It can be used by modifying the `instance_prompt`: **a photo of sks zach fox**
13
 
14
  You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb).
15
  And you can run your new concept via `diffusers`: [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb), [Spaces with the Public Concepts loaded](https://huggingface.co/spaces/sd-dreambooth-library/stable-diffusion-dreambooth-concepts)
16
 
17
+
18
+ ## Usage
19
+
20
+ To use this model, you can run the following...
21
+
22
+ ```python
23
+ import torch
24
+ from diffusers import StableDiffusionPipeline
25
+
26
+ pipe = StableDiffusionPipeline.from_pretrained("nateraw/zach-fox", torch_dtype=torch.float16).to("cuda")
27
+
28
+ prompt = "a photo of sks zach fox, oil on canvas"
29
+ image = pipe(prompt).images[0]
30
+ ```
31
+
32
  Here are the images used for training this concept:
33
  ![image 0](https://huggingface.co/nateraw/zach-fox-v2/resolve/main/concept_images/8.jpeg)
34
  ![image 1](https://huggingface.co/nateraw/zach-fox-v2/resolve/main/concept_images/13.jpeg)