KAPPA66 commited on
Commit
7f07063
·
verified ·
1 Parent(s): f8100da

Rename yaml to README.md

Browse files
Files changed (1) hide show
  1. yaml → README.md +14 -22
yaml → README.md RENAMED
@@ -11,29 +11,30 @@ tags:
11
  - replicate
12
  base_model: "black-forest-labs/FLUX.1-dev"
13
  pipeline_tag: text-to-image
14
- # widget:
15
- # - text: >-
16
- # prompt
17
- # output:
18
- # url: https://...
19
  instance_prompt: sectorSaveBox
20
  ---
21
 
22
- # Sectorsavebox
23
 
24
  <Gallery />
25
 
26
  ## About this LoRA
27
 
28
- This is a [LoRA](https://replicate.com/docs/guides/working-with-loras) for the FLUX.1-dev text-to-image model. It can be used with diffusers or ComfyUI.
29
-
30
- It was trained on [Replicate](https://replicate.com/) using AI toolkit: https://replicate.com/ostris/flux-dev-lora-trainer/train
31
 
 
32
 
33
  ## Trigger words
34
 
35
  You should use `sectorSaveBox` to trigger the image generation.
36
 
 
 
 
 
 
 
 
37
 
38
  ## Run this LoRA with an API using Replicate
39
 
@@ -52,29 +53,20 @@ output = replicate.run(
52
  for index, item in enumerate(output):
53
  with open(f"output_{index}.webp", "wb") as file:
54
  file.write(item.read())
55
- ```
56
-
57
- ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
58
 
59
- ```py
60
  from diffusers import AutoPipelineForText2Image
61
  import torch
62
 
63
  pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
64
  pipeline.load_lora_weights('KAPPA66/sectorSaveBox', weight_name='lora.safetensors')
65
  image = pipeline('sectorSaveBox').images[0]
66
- ```
67
-
68
- 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)
69
-
70
 
71
  ## Training details
72
 
73
- - Steps: 1000
74
- - Learning rate: 0.0004
75
- - LoRA rank: 16
76
-
77
 
78
  ## Contribute your own examples
79
 
80
- You can use the [community tab](https://huggingface.co/KAPPA66/sectorSaveBox/discussions) to add images that show off what youve made with this LoRA.
 
11
  - replicate
12
  base_model: "black-forest-labs/FLUX.1-dev"
13
  pipeline_tag: text-to-image
 
 
 
 
 
14
  instance_prompt: sectorSaveBox
15
  ---
16
 
17
+ # SectorSaveBox
18
 
19
  <Gallery />
20
 
21
  ## About this LoRA
22
 
23
+ This is a [LoRA](https://replicate.com/docs/guides/working-with-loras) for the FLUX.1-dev text-to-image model. It can be used with diffusers, ComfyUI, or Replicate.
 
 
24
 
25
+ It was trained on [Replicate](https://replicate.com/) using AI toolkit: [ostris/flux-dev-lora-trainer](https://replicate.com/ostris/flux-dev-lora-trainer/train)
26
 
27
  ## Trigger words
28
 
29
  You should use `sectorSaveBox` to trigger the image generation.
30
 
31
+ ## Prompting Tips
32
+
33
+ You can combine it with environments, lighting styles, or action verbs. Examples:
34
+
35
+ - `sectorSaveBox, on a white wall, close-up product photo`
36
+ - `sectorSaveBox, a person holding the device indoors`
37
+ - `sectorSaveBox, studio-lit product showcase`
38
 
39
  ## Run this LoRA with an API using Replicate
40
 
 
53
  for index, item in enumerate(output):
54
  with open(f"output_{index}.webp", "wb") as file:
55
  file.write(item.read())
 
 
 
56
 
 
57
  from diffusers import AutoPipelineForText2Image
58
  import torch
59
 
60
  pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
61
  pipeline.load_lora_weights('KAPPA66/sectorSaveBox', weight_name='lora.safetensors')
62
  image = pipeline('sectorSaveBox').images[0]
 
 
 
 
63
 
64
  ## Training details
65
 
66
+ - Steps: 1000
67
+ - Learning rate: 0.0004
68
+ - LoRA rank: 16
 
69
 
70
  ## Contribute your own examples
71
 
72
+ Use the [community tab](https://huggingface.co/KAPPA66/sectorSaveBox/discussions) to share images you've made with this LoRA.