Instructions to use cloudqi/cqi_text_to_image_pt_v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cloudqi/cqi_text_to_image_pt_v0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cloudqi/cqi_text_to_image_pt_v0", dtype=torch.bfloat16, device_map="cuda") prompt = "Gato em alta qualidade na neve\n" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update feature_extractor/preprocessor_config.json (#2)
Browse files- Update feature_extractor/preprocessor_config.json (49ae67dae6237507903a39fd18485fbbfe457193)
Co-authored-by: Han Ho <hoh2000@users.noreply.huggingface.co>
feature_extractor/preprocessor_config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"crop_size": 224,
|
| 3 |
"do_center_crop": true,
|
| 4 |
"do_convert_rgb": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "stable-diffusion",
|
| 3 |
"crop_size": 224,
|
| 4 |
"do_center_crop": true,
|
| 5 |
"do_convert_rgb": true,
|