Instructions to use Jonjew/HanfuChinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Jonjew/HanfuChinese with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Jonjew/HanfuChinese") prompt = "1qqq,upper body,hanfu,looking at viewer,a woman dressed in a traditional chinese hanfu,set against a cosmic backdrop,the woman is adorned with a silver headpiece and her attire is flowing,with intricate patterns and designs,the environment is filled with stars,giving the impression of a night sky,the details of the hanfu,including its layers and the way it drapes,are meticulously captured,emphasizing its elegance and cultural significance,at night,the background is a starry sky,physically-based rendering,extreme detail description,Vivid Colors,ultra-fine painting," image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K