Instructions to use JSYuuu/ThinkGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JSYuuu/ThinkGen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JSYuuu/ThinkGen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ library_name: diffusers
|
|
| 13 |
```bash
|
| 14 |
# 1. Clone the repo
|
| 15 |
git clone https://github.com/jiaosiyuu/ThinkGen.git
|
| 16 |
-
cd
|
| 17 |
|
| 18 |
# 2. (Optional) Create a clean Python environment
|
| 19 |
conda create -n thinkgen python=3.11
|
|
|
|
| 13 |
```bash
|
| 14 |
# 1. Clone the repo
|
| 15 |
git clone https://github.com/jiaosiyuu/ThinkGen.git
|
| 16 |
+
cd ThinkGen
|
| 17 |
|
| 18 |
# 2. (Optional) Create a clean Python environment
|
| 19 |
conda create -n thinkgen python=3.11
|