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('openfree/leonardo-dicaprio', weight_name='leonardo-dicaprio.safetensors')
image = pipeline('Leonardo DiCaprio as professional football player, happy face, black hair, real photo, 26K').images[0]
image.save("my_image.png")
leonardo-dicaprio huggingface.co is an AI model on huggingface.co that provides leonardo-dicaprio's model effect (), which can be used instantly with this openfree leonardo-dicaprio model. huggingface.co supports a free trial of the leonardo-dicaprio model, and also provides paid use of the leonardo-dicaprio. Support call leonardo-dicaprio model through api, including Node.js, Python, http.
leonardo-dicaprio huggingface.co is an online trial and call api platform, which integrates leonardo-dicaprio's modeling effects, including api services, and provides a free online trial of leonardo-dicaprio, you can try leonardo-dicaprio online for free by clicking the link below.
openfree leonardo-dicaprio online free url in huggingface.co:
leonardo-dicaprio is an open source model from GitHub that offers a free installation service, and any user can find leonardo-dicaprio on GitHub to install. At the same time, huggingface.co provides the effect of leonardo-dicaprio install, users can directly use leonardo-dicaprio installed effect in huggingface.co for debugging and trial. It also supports api for free installation.