Upload folder using huggingface_hub
Browse files- README.md +49 -0
- samples/1728743227071__000001000_0.jpg +0 -0
- test-hat.safetensors +3 -0
- test-hat_000000250.safetensors +3 -0
- test-hat_000000500.safetensors +3 -0
- test-hat_000000750.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 man standing in a black coat and hat, with a pair of goggles in his hand.
|
| 11 |
+
The background is dark, creating a stark contrast between the man and his
|
| 12 |
+
surroundings. [trigger]
|
| 13 |
+
output:
|
| 14 |
+
url: samples/1728743227071__000001000_0.jpg
|
| 15 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 16 |
+
instance_prompt: hat
|
| 17 |
+
license: other
|
| 18 |
+
license_name: flux-1-dev-non-commercial-license
|
| 19 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# test-hat
|
| 23 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 24 |
+
<Gallery />
|
| 25 |
+
|
| 26 |
+
## Trigger words
|
| 27 |
+
|
| 28 |
+
You should use `hat` to trigger the image generation.
|
| 29 |
+
|
| 30 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 31 |
+
|
| 32 |
+
Weights for this model are available in Safetensors format.
|
| 33 |
+
|
| 34 |
+
[Download](/seawolf2357/test-hat/tree/main) them in the Files & versions tab.
|
| 35 |
+
|
| 36 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 37 |
+
|
| 38 |
+
```py
|
| 39 |
+
from diffusers import AutoPipelineForText2Image
|
| 40 |
+
import torch
|
| 41 |
+
|
| 42 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
| 43 |
+
pipeline.load_lora_weights('seawolf2357/test-hat', weight_name='test-hat.safetensors')
|
| 44 |
+
image = pipeline('a man standing in a black coat and hat, with a pair of goggles in his hand. The background is dark, creating a stark contrast between the man and his surroundings. [trigger]').images[0]
|
| 45 |
+
image.save("my_image.png")
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
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)
|
| 49 |
+
|
samples/1728743227071__000001000_0.jpg
ADDED
|
test-hat.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81de42eff032c76e5fa95ac3589d30d9652fc0aa87ca508d288e3f64fc0963e2
|
| 3 |
+
size 171969392
|
test-hat_000000250.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac4aaab6ac02226e35d3d5652fbf6a2982684726a823a8e2dea60ec58449a317
|
| 3 |
+
size 171969384
|
test-hat_000000500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:beb1c1f13b3924ee48d2d677065ce80c39be8b9f0ede76f172bfd2c580cd92bc
|
| 3 |
+
size 171969384
|
test-hat_000000750.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e8927102e2f1d4ccaddf13fcf01f1b1167081378ee11b40371dfc0a2146fa5c
|
| 3 |
+
size 171969384
|