Upload folder using huggingface_hub
Browse files- README.md +53 -0
- samples/1726237587125__000001000_0.jpg +0 -0
- samples/1726237604671__000001000_1.jpg +0 -0
- wedding-yg.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- flux
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- template:sd-lora
|
| 8 |
+
- ai-toolkit
|
| 9 |
+
widget:
|
| 10 |
+
- text: a bride and groom standing next to each other in front of a white background,
|
| 11 |
+
both of them smiling and holding flower bouquets in their hands. The bride
|
| 12 |
+
is wearing a white dress and the groom is holding a bouquet of flowers w3yg
|
| 13 |
+
output:
|
| 14 |
+
url: samples/1726237587125__000001000_0.jpg
|
| 15 |
+
- text: two lovely couple standing in church and seeing each other, earing in nice
|
| 16 |
+
dress w3yg
|
| 17 |
+
output:
|
| 18 |
+
url: samples/1726237604671__000001000_1.jpg
|
| 19 |
+
base_model: black-forest-labs/FLUX.1-schnell
|
| 20 |
+
instance_prompt: w3yg
|
| 21 |
+
license: apache-2.0
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# wedding-yg
|
| 27 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 28 |
+
<Gallery />
|
| 29 |
+
|
| 30 |
+
## Trigger words
|
| 31 |
+
|
| 32 |
+
You should use `w3yg` to trigger the image generation.
|
| 33 |
+
|
| 34 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 35 |
+
|
| 36 |
+
Weights for this model are available in Safetensors format.
|
| 37 |
+
|
| 38 |
+
[Download](/cctuan/wedding-yg/tree/main) them in the Files & versions tab.
|
| 39 |
+
|
| 40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 41 |
+
|
| 42 |
+
```py
|
| 43 |
+
from diffusers import AutoPipelineForText2Image
|
| 44 |
+
import torch
|
| 45 |
+
|
| 46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16).to('cuda')
|
| 47 |
+
pipeline.load_lora_weights('cctuan/wedding-yg', weight_name='wedding-yg')
|
| 48 |
+
image = pipeline('a bride and groom standing next to each other in front of a white background, both of them smiling and holding flower bouquets in their hands. The bride is wearing a white dress and the groom is holding a bouquet of flowers w3yg').images[0]
|
| 49 |
+
image.save("my_image.png")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
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)
|
| 53 |
+
|
samples/1726237587125__000001000_0.jpg
ADDED
|
samples/1726237604671__000001000_1.jpg
ADDED
|
wedding-yg.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:011c2b90554967ff8d4d969362f950e62c0b7da0ac6e31d1ef2c53b18395c714
|
| 3 |
+
size 171969392
|