codermert commited on
Commit
a39b7f1
·
verified ·
1 Parent(s): 93c10b2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -20
README.md CHANGED
@@ -19,10 +19,18 @@ pipeline_tag: text-to-image
19
  instance_prompt: TOK
20
  ---
21
 
22
- # Malika
23
 
24
  <Gallery />
25
 
 
 
 
 
 
 
 
 
26
 
27
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
28
 
@@ -30,25 +38,9 @@ instance_prompt: TOK
30
  from diffusers import AutoPipelineForText2Image
31
  import torch
32
 
33
- # 1. Realistic Vision modelini yükle
34
- pipeline = AutoPipelineForText2Image.from_pretrained(
35
- "prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0",
36
- torch_dtype=torch.float16
37
- ).to("cuda")
38
-
39
- # 2. LoRA'yı zorla yükle (alpha=0.5 ile gücünü azaltın)
40
- pipeline.load_lora_weights(
41
- "codermert/ozgeefinal",
42
- weight_name="lora.safetensors",
43
- adapter_name="fluxx",
44
- cross_attention_scale=0.5 # LoRA etkisini hafiflet
45
- )
46
-
47
- # 3. Promptta hem trigger hem stil vurgusu yapın
48
- image = pipeline(
49
- prompt="portrait of TOK, <fluxx>, photorealistic, 8K", # TOK + adapter_name
50
- negative_prompt="blurry, deformed"
51
- ).images[0]
52
  ```
53
 
54
  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)
 
19
  instance_prompt: TOK
20
  ---
21
 
22
+ # Ozgeee3_Fluxxx
23
 
24
  <Gallery />
25
 
26
+ Trained on Replicate using:
27
+
28
+ https://replicate.com/ostris/flux-dev-lora-trainer/train
29
+
30
+
31
+ ## Trigger words
32
+ You should use `TOK` to trigger the image generation.
33
+
34
 
35
  ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
36
 
 
38
  from diffusers import AutoPipelineForText2Image
39
  import torch
40
 
41
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
42
+ pipeline.load_lora_weights('codermert/ozgeee3_fluxxx', weight_name='lora.safetensors')
43
+ image = pipeline('your prompt').images[0]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  ```
45
 
46
  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)