Gulsum06 commited on
Commit
661109c
·
1 Parent(s): 0062f76

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - pytorch
5
+ - diffusers
6
+ - text-to-image
7
+ - diffusion-models-class
8
+ ---
9
+
10
+ # Resource GitHub repo: (https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth)
11
+
12
+ This model is a dreambooth diffusion model for text-to-image generation.
13
+
14
+ ## Usage
15
+
16
+ ```python
17
+ from diffusers import StableDiffusionPipeline
18
+ import torch
19
+
20
+ pipe = StableDiffusionPipeline.from_pretrained('Gulsum06/diff-dreambooth-finetuning', torch_dtype=torch.float16)
21
+ pipe = pipe.to("cuda")
22
+
23
+ prompt = "photo of zwx dog in a bucket"
24
+ image = pipe(prompt).images[0]
25
+
26
+ image
27
+ ```