Commit
·
89114dd
1
Parent(s):
3e6e8fc
feat: add model card template and enable inference
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
inference: true
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- text-to-image
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Corporate Memphis is an finetuned Stable Diffusion by [@jinofcoolnes](https://twitter.com/jinofcoolnes)
|
| 12 |
+
|
| 13 |
+
Use prompt: 'Corporate_Memphis digital illustration'
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
### 🧨 Diffusers
|
| 17 |
+
|
| 18 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 19 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 20 |
+
|
| 21 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
from diffusers import StableDiffusionPipeline
|
| 25 |
+
import torch
|
| 26 |
+
model_id = "jinofcoolnes/corporate_memphis"
|
| 27 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 28 |
+
pipe = pipe.to("cuda")
|
| 29 |
+
prompt = "coliseum full of different cars with different colors and shapes; Corporate_Memphis digital illustration"
|
| 30 |
+
image = pipe(prompt).images[0]
|
| 31 |
+
image.save("./cars.png")
|
| 32 |
+
```
|
readme!!
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
Use "Corporate_Memphis" in the prompt to use it.
|
| 2 |
-
Super highly suggest you add "digital illustration" right behind it to make sure it works.
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
"This is V1 of this model, Colab stopped before I could finish the really long training, will upload the finished one if it's better."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|