Tudortot commited on
Commit
1b2d428
1 Parent(s): b3d32b3

Upload folder using huggingface_hub

Browse files
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 person in a bustling cafe '
11
+ output:
12
+ url: samples/1725501643030__000002000_0.jpg
13
+ - text: a woman sitting at a desk with a child standing in front of her
14
+ output:
15
+ url: samples/1725501660398__000002000_1.jpg
16
+ - text: a man and a woman on a beach with a palm tree in the background
17
+ output:
18
+ url: samples/1725501677712__000002000_2.jpg
19
+ base_model: black-forest-labs/FLUX.1-schnell
20
+ instance_prompt: CARTOO
21
+ license: apache-2.0
22
+
23
+
24
+ ---
25
+
26
+ # cartoon
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 `CARTOO` 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](/Tudortot/cartoon/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('Tudortot/cartoon', weight_name='cartoon')
48
+ image = pipeline('A person in a bustling cafe ').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
+
cartoon.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fafb50027d165e58d23524c3a130e6ad3681412af4e5a0032ab0efe478d37370
3
+ size 343805432
samples/1725501643030__000002000_0.jpg ADDED
samples/1725501660398__000002000_1.jpg ADDED
samples/1725501677712__000002000_2.jpg ADDED