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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

prithivMLmods
/
Flux.1-Dev-Sketch-Card-LoRA

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

Instructions to use prithivMLmods/Flux.1-Dev-Sketch-Card-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prithivMLmods/Flux.1-Dev-Sketch-Card-LoRA 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("prithivMLmods/Flux.1-Dev-Sketch-Card-LoRA")
    
    prompt = "sketch card, a close-up of a hand holding a card with a cartoon image of Mario on it. The card has a yellow background with a red cap and a red M on it, and the character is wearing blue overalls with a yellow button on the left side of his chest. The character is waving his left hand and has a big smile on his face. To the right of the card is a small cartoon character with a blue outfit and red hat. They are standing on a table with a white tablecloth. The table is adorned with small lights, adding a pop of color to the scene."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Flux.1-Dev-Sketch-Card-LoRA / images
4.51 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
prithivMLmods's picture
prithivMLmods
Delete images/69d3443bcc6589e77f910182ab664d2c.jpg
c5c1961 verified almost 2 years ago
  • SC1.png
    946 kB
    xet
    Upload 4 files almost 2 years ago
  • SC2.png
    1.13 MB
    xet
    Upload 4 files almost 2 years ago
  • SC3.png
    1.21 MB
    xet
    Upload 4 files almost 2 years ago
  • SC4.png
    1.22 MB
    xet
    Upload 4 files almost 2 years ago