Instructions to use strangerzonehf/Flux-Sketch-Flat-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use strangerzonehf/Flux-Sketch-Flat-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("strangerzonehf/Flux-Sketch-Flat-LoRA") prompt = "Sketch Flat: A black and white pencil sketch of a Starship rocket launch is depicted on a beige background. The rocket is captured mid-ascent, with flames and smoke billowing dramatically from its engines. The body of the Starship is sleek and cylindrical, detailed with fine lines to emphasize its metallic surface. Thin, wavy strokes illustrate the clouds of exhaust expanding at the base. In the background, faint outlines of a launch tower and distant hills are visible, adding depth to the scene. Above the rocket, the words \"Reaching for the Stars\" are written in bold, curved black ink, , the booster fire smoke was Orange coloured" 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!