from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('fffiloni/sweet-brush', weight_name='sweet-brush.safetensors')
image = pipeline('A person in a bustling cafe. in the style of TOK').images[0]
image.save("my_image.png")
sweet-brush huggingface.co is an AI model on huggingface.co that provides sweet-brush's model effect (), which can be used instantly with this fffiloni sweet-brush model. huggingface.co supports a free trial of the sweet-brush model, and also provides paid use of the sweet-brush. Support call sweet-brush model through api, including Node.js, Python, http.
sweet-brush huggingface.co is an online trial and call api platform, which integrates sweet-brush's modeling effects, including api services, and provides a free online trial of sweet-brush, you can try sweet-brush online for free by clicking the link below.
fffiloni sweet-brush online free url in huggingface.co:
sweet-brush is an open source model from GitHub that offers a free installation service, and any user can find sweet-brush on GitHub to install. At the same time, huggingface.co provides the effect of sweet-brush install, users can directly use sweet-brush installed effect in huggingface.co for debugging and trial. It also supports api for free installation.