Instructions to use freshcodes/cat_in_space with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use freshcodes/cat_in_space with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("freshcodes/cat_in_space") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,10 @@ tags:
|
|
| 5 |
- stable-diffusion-xl
|
| 6 |
- text-to-image
|
| 7 |
license: creativeml-openrail-m
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# Cat in Space 🐱🚀
|
|
@@ -20,4 +24,4 @@ pipe = DiffusionPipeline.from_pretrained("freshcodestech/cat_in_space", torch_dt
|
|
| 20 |
pipe.to("cuda")
|
| 21 |
|
| 22 |
image = pipe("a cartoon cat in a space suit floating in a colorful galaxy").images[0]
|
| 23 |
-
image.save("cat.png")
|
|
|
|
| 5 |
- stable-diffusion-xl
|
| 6 |
- text-to-image
|
| 7 |
license: creativeml-openrail-m
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
base_model:
|
| 11 |
+
- stabilityai/stable-diffusion-xl-base-1.0
|
| 12 |
---
|
| 13 |
|
| 14 |
# Cat in Space 🐱🚀
|
|
|
|
| 24 |
pipe.to("cuda")
|
| 25 |
|
| 26 |
image = pipe("a cartoon cat in a space suit floating in a colorful galaxy").images[0]
|
| 27 |
+
image.save("cat.png")
|