Instructions to use newgenai79/Flex2-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use newgenai79/Flex2-preview with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("newgenai79/Flex2-preview", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
Verified signaturec0c4d86 -
Update model_index.json
Verified signature33e42ed -
Delete Flex.2-preview.safetensors
Verified signature09f25b8 -
Update vae/config.json
Verified signaturebc32528 -
Update transformer/config.json
Verified signaturee02c21b -
Update text_encoder_2/config.json
Verified signature00442c2 -
Update text_encoder/config.json
Verified signaturebd6082c -
Duplicate from ostris/Flex.2-preview
Verified signatureCo-authored-by: Jaret Burkett <ostris@users.noreply.huggingface.co>604c027