Instructions to use busetolunay/background with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use busetolunay/background 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("busetolunay/background") prompt = "[trigger] style, A stone-paved courtyard surrounded by tall brick walls. In the center is a large fountain with water flowing down in layers. To the left, there is a bench under an old oak tree, casting long shadows on the ground. The sunlight is breaking through the branches, illuminating patches of the cobblestone path. A few birds are perched on the fountain's edge." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K