hellomrsheel commited on
Commit
b218c87
·
verified ·
1 Parent(s): 4ae96d5

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +4 -4
  2. config.yaml +1 -1
  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: Priyanka
20
  ---
21
 
22
  # Matify
@@ -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 `Priyanka` to trigger the image generation.
36
 
37
 
38
  ## Run this LoRA with an API using Replicate
@@ -41,7 +41,7 @@ You should use `Priyanka` to trigger the image generation.
41
  import replicate
42
 
43
  input = {
44
- "prompt": "Priyanka",
45
  "lora_weights": "https://huggingface.co/hellomrsheel/Matify/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('hellomrsheel/Matify', weight_name='lora.safetensors')
65
- image = pipeline('Priyanka').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: Model3
20
  ---
21
 
22
  # Matify
 
32
 
33
  ## Trigger words
34
 
35
+ You should use `Model3` to trigger the image generation.
36
 
37
 
38
  ## Run this LoRA with an API using Replicate
 
41
  import replicate
42
 
43
  input = {
44
+ "prompt": "Model3",
45
  "lora_weights": "https://huggingface.co/hellomrsheel/Matify/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('hellomrsheel/Matify', weight_name='lora.safetensors')
65
+ image = pipeline('Model3').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,7 +5,7 @@ config:
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
- trigger_word: Priyanka
9
  network:
10
  type: lora
11
  linear: 16
 
5
  - type: custom_sd_trainer
6
  training_folder: output
7
  device: cuda:0
8
+ trigger_word: Model3
9
  network:
10
  type: lora
11
  linear: 16
lora.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd4295d9e7f77d62a215a328900a7355d188eaf131c6f368d86b1463c0961fb3
3
- size 171969424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e0d4e4aecb19ea47c8062a9dd6dfad18a9a69776d0e6e28b322def60d71cca
3
+ size 171969416