Commit
·
e9aa9c2
1
Parent(s):
9c99a04
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
+
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- stable-diffusion
|
7 |
+
- text-to-image
|
8 |
+
- sam-the-cat
|
9 |
+
widget:
|
10 |
+
- text: a photo of samruane cat
|
11 |
+
---
|
12 |
+
|
13 |
+
## Usage
|
14 |
+
|
15 |
+
```python
|
16 |
+
from diffusers import StableDiffusionPipeline
|
17 |
+
|
18 |
+
pipeline = StableDiffusionPipeline.from_pretrained('dogeplusplus/stable-sam')
|
19 |
+
image = pipeline().images[0]
|
20 |
+
image
|
21 |
+
```
|