Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

leonel4rd
/
Dragonstyle

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use leonel4rd/Dragonstyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use leonel4rd/Dragonstyle 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("leonel4rd/Dragonstyle")
    
    prompt = "UNICODE\u0000\u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000A\u0000k\u0000i\u0000r\u0000a\u0000_\u0000T\u0000o\u0000r\u0000i\u0000y\u0000a\u0000m\u0000a\u0000_\u0000S\u0000t\u0000y\u0000l\u0000e\u0000:\u00000\u0000.\u00009\u0000>\u0000 \u0000a\u0000k\u0000i\u0000r\u0000a\u0000 \u0000t\u0000o\u0000r\u0000i\u0000y\u0000a\u0000m\u0000a\u0000 \u0000s\u0000t\u0000y\u0000l\u0000e\u0000,\u0000 \u0000a\u0000 \u0000b\u0000l\u0000o\u0000n\u0000d\u0000 \u0000m\u0000a\u0000n\u0000 \u0000w\u0000e\u0000a\u0000r\u0000s\u0000 \u0000a\u0000 \u0000w\u0000h\u0000i\u0000t\u0000e\u0000 \u0000b\u0000u\u0000t\u0000t\u0000o\u0000n\u0000d\u0000o\u0000w\u0000n\u0000 \u0000s\u0000h\u0000i\u0000r\u0000t\u0000 \u0000a\u0000n\u0000d\u0000 \u0000j\u0000e\u0000a\u0000n\u0000s\u0000.\u0000 \u0000H\u0000e\u0000 \u0000h\u0000o\u0000l\u0000d\u0000s\u0000 \u0000a\u0000 \u0000b\u0000e\u0000e\u0000r\u0000 \u0000i\u0000n\u0000 \u0000a\u0000 \u0000p\u0000u\u0000b\u0000"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Dragonstyle / images
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
leonel4rd's picture
leonel4rd
Add 2 files
e6314ae verified over 1 year ago
  • 00066-2032546944.jpeg
    61.5 kB
    xet
    Add 2 files over 1 year ago