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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!