model_malika / README.md
codermert's picture
Update README.md
bd98983 verified
|
raw
history blame
1.41 kB
metadata
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
language:
  - en
tags:
  - flux
  - diffusers
  - lora
base_model: black-forest-labs/FLUX.1-dev
pipeline_tag: text-to-image
instance_prompt: Zoe

Zoe_Flux

Trained on Replicate using:

https://replicate.com/ostris/flux-dev-lora-trainer/train

Trigger words

You should use tugce to trigger the image generation.

Use it with the 🧨 diffusers library

from diffusers import AutoPipelineForText2Image
import torch

# Modeli yükleyin
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')

# LoRA ağırlıklarını yükleyin
pipeline.load_lora_weights('codermert/model_malika', weight_name='sarah-lora-000001.safetensors')

# Prompt'unuzu ve istediğiniz boyutları belirleyin
prompt = "bikini girl, home"
height = 512  # İstediğiniz yükseklik
width = 768   # İstediğiniz genişlik

# Resmi oluşturun
image = pipeline(prompt, height=height, width=width).images[0]

# Resmi kaydedin
image.save("custom_size_image.png")

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers