Instructions to use antonellaavad/https-huggingface-co-iyashi-haku-naruto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use antonellaavad/https-huggingface-co-iyashi-haku-naruto with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("andite/pastel-mix", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("antonellaavad/https-huggingface-co-iyashi-haku-naruto") prompt = "haku(naruto), haku, female, woman, girl, 1 girl, flat breasts, black eyes, brown eyes, mask, anbu mask, white and red mask, white mask, red mask, holding mask, headband, solid steel headband, symbol headband, white hair bun, hair bun, black hair, long hair, needles, holding needles, solid steel needles, steel needles, kimono, teal kimono, battlesuit, brown battlesuit, long sleeves, tassel" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Create requirements.txt
#3
by ShriVidyaAyushi - opened
This file lists all Python packages required for the Space to run correctly, including diffusers, transformers, accelerate, safetensors, pillow, and gradio. Hugging Face will automatically install these when building the Space.
यह फ़ाइल Space के सही तरीके से चलने के लिए आवश्यक सभी Python पैकेजों की सूची देती है, जैसे diffusers, transformers, accelerate, safetensors, pillow, और gradio। Hugging Face build के दौरान इन्हें अपने आप इंस्टॉल कर देगा।