Instructions to use Ahmade/text2imagev2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ahmade/text2imagev2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Ahmade/text2imagev2", 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 ·
d0d583b
1
Parent(s): c2554c7
Librarian Bot: Update dataset YAML metadata for model
Browse filesThis is a pull request to add a dataset, [`maderix/flickr_bw_rgb`](https://huggingface.co/datasets/maderix/flickr_bw_rgb), to the metadata for your model (defined in the `YAML` block of your model's `README.md`).
The pull request was made by [librarian-bot](https://huggingface.co/librarian-bot) and used a combination of rules and/or machine learning to suggest this additional metadata.
If this suggestion is incorrect, feel free to close this pull request.
Librarian Bot was made by [@davanstrien](https://huggingface.co/davanstrien); feel free to get in touch with feedback.