Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

leonel4rd
/
T-shirtCartoon

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

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

  • Libraries
  • Diffusers

    How to use leonel4rd/T-shirtCartoon 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/T-shirtCartoon")
    
    prompt = "This is a black and white digital drawing featuring a whimsical, cartoonish scene. The central focus is a small, old-fashioned car with a rounded, compact design and a star emblem on the front grille. The car is depicted in motion, with smoke billowing from its exhaust pipes, indicating it is speeding forward. The driver of the car is an anthropomorphic, exaggerated character, complete with a grinning face and large, round eyes. The driver is wearing a vintage racing helmet with a visor and goggles, and a scarf that flutters behind him, adding a sense of speed and motion. The background is stark black, making the image stand out. The drawing style is reminiscent of vintage comic book art, with bold, thick lines and a focus on exaggerated features. The texture of the car and character is smooth and clean, with shading used to enhance depth and volume. The overall mood is lively and playful, capturing the essence of a classic cartoon race scene."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
T-shirtCartoon
19.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
leonel4rd's picture
leonel4rd
Add 2 files
eb39564 verified over 1 year ago
  • images
    Add 2 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • Crazy_Shirt_Cartoon.safetensors
    19.3 MB
    xet
    Add 2 files over 1 year ago
  • README.md
    1.45 kB
    initial commit over 1 year ago