Delete README.md
Browse files
README.md
DELETED
@@ -1,51 +0,0 @@
|
|
1 |
-
---
|
2 |
-
license: other
|
3 |
-
license_name: flux-1-dev-non-commercial-license
|
4 |
-
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
5 |
-
language:
|
6 |
-
- en
|
7 |
-
tags:
|
8 |
-
- flux
|
9 |
-
- diffusers
|
10 |
-
- lora
|
11 |
-
base_model: "black-forest-labs/FLUX.1-dev"
|
12 |
-
pipeline_tag: text-to-image
|
13 |
-
instance_prompt: Zoe
|
14 |
-
---
|
15 |
-
|
16 |
-
# Zoe_Flux
|
17 |
-
|
18 |
-
Trained on Replicate using:
|
19 |
-
|
20 |
-
https://replicate.com/ostris/flux-dev-lora-trainer/train
|
21 |
-
|
22 |
-
|
23 |
-
## Trigger words
|
24 |
-
You should use `tugce` to trigger the image generation.
|
25 |
-
|
26 |
-
|
27 |
-
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
28 |
-
|
29 |
-
```py
|
30 |
-
from diffusers import AutoPipelineForText2Image
|
31 |
-
import torch
|
32 |
-
|
33 |
-
# Modeli yükleyin
|
34 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
35 |
-
|
36 |
-
# LoRA ağırlıklarını yükleyin
|
37 |
-
pipeline.load_lora_weights('codermert/model_malika', weight_name='sarah-lora-000001.safetensors')
|
38 |
-
|
39 |
-
# Prompt'unuzu ve istediğiniz boyutları belirleyin
|
40 |
-
prompt = "bikini girl, home"
|
41 |
-
height = 512 # İstediğiniz yükseklik
|
42 |
-
width = 768 # İstediğiniz genişlik
|
43 |
-
|
44 |
-
# Resmi oluşturun
|
45 |
-
image = pipeline(prompt, height=height, width=width).images[0]
|
46 |
-
|
47 |
-
# Resmi kaydedin
|
48 |
-
image.save("custom_size_image.png")
|
49 |
-
```
|
50 |
-
|
51 |
-
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|