Instructions to use MuhammadAfgan/Afgan_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MuhammadAfgan/Afgan_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MuhammadAfgan/Afgan_diffusers", 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
Commit History
-
Upload model_index.json with huggingface_hub
ba03d43 -
Upload folder using huggingface_hub
97c7430 -
Upload folder using huggingface_hub
949bef2 -
Upload README.md with huggingface_hub
c7561db -
Upload model_index.json with huggingface_hub
a7beb65 -
Upload folder using huggingface_hub
def0d19 -
Upload folder using huggingface_hub
d1ac5e2 -
Upload model_index.json with huggingface_hub
dc51ecf -
Upload folder using huggingface_hub
4642307 -
Upload folder using huggingface_hub
62d43b3 -
Upload model_index.json with huggingface_hub
2481a83 -
Upload folder using huggingface_hub
db5e1f6 -
Upload folder using huggingface_hub
741b69b -
Upload model_index.json with huggingface_hub
56c9f2c -
Upload folder using huggingface_hub
7c39488 -
Upload folder using huggingface_hub
5ea175a -
initial commit
17697d6