Upload folder using huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- ai-toolkit
|
9 |
+
widget:
|
10 |
+
- text: an animated man in a blue hoodie holding a sword, standing in front of a
|
11 |
+
wall with various objects in the background. [trigger]
|
12 |
+
output:
|
13 |
+
url: samples/1736414052380__000001000_0.jpg
|
14 |
+
- text: an animated person holding a glowing object in their hand, with another
|
15 |
+
person in the background. The person on the right side of the image is wearing
|
16 |
+
a blue and white outfit, and the object they are holding appears to be a character
|
17 |
+
from the anime series Yu-Gi-Oh! Duel Monsters. [trigger]
|
18 |
+
output:
|
19 |
+
url: samples/1736414082493__000001000_1.jpg
|
20 |
+
- text: 'a poster featuring animated characters from the game The Legend of Heroes:
|
21 |
+
Trails of Cold Steel III. The poster has text written on it, likely describing
|
22 |
+
the game and its characters. [trigger]'
|
23 |
+
output:
|
24 |
+
url: samples/1736414112528__000001000_2.jpg
|
25 |
+
base_model: black-forest-labs/FLUX.1-dev
|
26 |
+
instance_prompt: fantasy
|
27 |
+
license: other
|
28 |
+
license_name: flux-1-dev-non-commercial-license
|
29 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
30 |
+
---
|
31 |
+
|
32 |
+
# myt-flux-fantasy
|
33 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
34 |
+
<Gallery />
|
35 |
+
|
36 |
+
## Trigger words
|
37 |
+
|
38 |
+
You should use `fantasy` to trigger the image generation.
|
39 |
+
|
40 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
41 |
+
|
42 |
+
Weights for this model are available in Safetensors format.
|
43 |
+
|
44 |
+
[Download](/openfree/myt-flux-fantasy/tree/main) them in the Files & versions tab.
|
45 |
+
|
46 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
47 |
+
|
48 |
+
```py
|
49 |
+
from diffusers import AutoPipelineForText2Image
|
50 |
+
import torch
|
51 |
+
|
52 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
53 |
+
pipeline.load_lora_weights('openfree/myt-flux-fantasy', weight_name='myt-flux-fantasy.safetensors')
|
54 |
+
image = pipeline('an animated man in a blue hoodie holding a sword, standing in front of a wall with various objects in the background. [trigger]').images[0]
|
55 |
+
image.save("my_image.png")
|
56 |
+
```
|
57 |
+
|
58 |
+
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)
|
59 |
+
|
myt-flux-fantasy.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b974584ffcd15920e5bd289e3219a9e828fef87eebce2430de070e885b529c0
|
3 |
+
size 171969408
|
samples/1736414052380__000001000_0.jpg
ADDED
![]() |
samples/1736414082493__000001000_1.jpg
ADDED
![]() |
samples/1736414112528__000001000_2.jpg
ADDED
![]() |