Korean BEST Leaderboard
Collection
A curated collection of the best Korean-developed spaces and models released on Hugging Face β’ 221 items β’ Updated β’ 100
How to use openfree/flux-lora-korea-palace 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("openfree/flux-lora-korea-palace")
prompt = "Gyeongbokgung Palace in Seoul, South Korea. It is a large building with stairs leading up to the entrance, surrounded by a wall. In the background, there are other buildings, mountains, and a clear blue sky. [trigger]"
image = pipe(prompt).images[0]
You should use korea palace to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
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/flux-lora-korea-palace', weight_name='flux-lora-korea-palace.safetensors')
image = pipeline('Gyeongbokgung Palace in Seoul, South Korea. It is a large building with stairs leading up to the entrance, surrounded by a wall. In the background, there are other buildings, mountains, and a clear blue sky. [trigger]').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
black-forest-labs/FLUX.1-dev