kandiprBG commited on
Commit
7ae0d37
·
verified ·
1 Parent(s): 5ed6053

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +4 -4
  2. config.yaml +2 -2
  3. lora.safetensors +2 -2
README.md CHANGED
@@ -16,7 +16,7 @@ pipeline_tag: text-to-image
16
  # prompt
17
  # output:
18
  # url: https://...
19
- instance_prompt: HYPRN
20
  ---
21
 
22
  # Hyperiontest
@@ -32,7 +32,7 @@ It was trained on [Replicate](https://replicate.com/) using AI toolkit: https://
32
 
33
  ## Trigger words
34
 
35
- You should use `HYPRN` to trigger the image generation.
36
 
37
 
38
  ## Run this LoRA with an API using Replicate
@@ -41,7 +41,7 @@ You should use `HYPRN` to trigger the image generation.
41
  import replicate
42
 
43
  input = {
44
- "prompt": "HYPRN",
45
  "lora_weights": "https://huggingface.co/BrightBlueHF/hyperionTest/resolve/main/lora.safetensors"
46
  }
47
 
@@ -62,7 +62,7 @@ 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('BrightBlueHF/hyperionTest', weight_name='lora.safetensors')
65
- image = pipeline('HYPRN').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)
 
16
  # prompt
17
  # output:
18
  # url: https://...
19
+ instance_prompt: BBHYPRN
20
  ---
21
 
22
  # Hyperiontest
 
32
 
33
  ## Trigger words
34
 
35
+ You should use `BBHYPRN` to trigger the image generation.
36
 
37
 
38
  ## Run this LoRA with an API using Replicate
 
41
  import replicate
42
 
43
  input = {
44
+ "prompt": "BBHYPRN",
45
  "lora_weights": "https://huggingface.co/BrightBlueHF/hyperionTest/resolve/main/lora.safetensors"
46
  }
47
 
 
62
 
63
  pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
64
  pipeline.load_lora_weights('BrightBlueHF/hyperionTest', weight_name='lora.safetensors')
65
+ image = pipeline('BBHYPRN').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)
config.yaml CHANGED
@@ -5,14 +5,14 @@ config:
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
- trigger_word: HYPRN
9
  network:
10
  type: lora
11
  linear: 16
12
  linear_alpha: 16
13
  save:
14
  dtype: float16
15
- save_every: 1001
16
  max_step_saves_to_keep: 1
17
  datasets:
18
  - folder_path: input_images
 
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
+ trigger_word: BBHYPRN
9
  network:
10
  type: lora
11
  linear: 16
12
  linear_alpha: 16
13
  save:
14
  dtype: float16
15
+ save_every: 100
16
  max_step_saves_to_keep: 1
17
  datasets:
18
  - folder_path: input_images
lora.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5096bc181d22bcd4ed33021780b37bf91baef59178e53828c0a5a5d28c03005c
3
- size 171969416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7b68ab6428dfcb42be14d348d7c664504c06bf6ab7f1b95a1f5e50a25def08c
3
+ size 171969424