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