kaidu88 commited on
Commit
8f1cb14
1 Parent(s): 379f1a8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -3
README.md CHANGED
@@ -1,3 +1,42 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: "black-forest-labs/FLUX.1-dev"
4
+ tags:
5
+ - flux
6
+ - flux-diffusers
7
+ - text-to-image
8
+ - diffusers
9
+ - simpletuner
10
+ - lora
11
+ - template:sd-lora
12
+ ---
13
+
14
+ # simpletuner-lora: Pulp-Fantasy Comics in Frank Frazetta style
15
+
16
+ A LoRA for the Flux-1.dev text-to-image model to enforce a vintage fantasy pulp-comic style with high contrast and simple linearts - a style in reminiscent of the old Frank Frazetta fantasy comics.
17
+
18
+ The model was trained on 76 manually captioned images in different resolutions - many thanks to **SubtleOne** who gave me the training data.
19
+
20
+ ## Validation settings
21
+ - CFG: `3.5`
22
+ - CFG Rescale: `0.0`
23
+ - Steps: `30`
24
+ - Sampler: `Euler`
25
+ - Resolution: `1024x1024`
26
+
27
+
28
+ <Gallery />
29
+
30
+
31
+ ## Inference
32
+
33
+
34
+ ```python
35
+ from diffusers.pipelines.flux.pipeline_flux import FluxPipeline
36
+ import safetensors.torch
37
+ pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, token="hf_[yourhuggingfacetoken]")
38
+ weights = safetensors.torch.load_file("frazetta_pulp_comics.safetensors") # download it manually
39
+ pipe.load_lora_into_transformer(weights, pipe.transformer)
40
+ image=pipe("Illustration by Frank Frazetta: A grand medieval banquet hall illuminated by flickering torchlight, with long wooden tables laden with roasted meats, bread, and wine. Nobles in fine garments and elaborate headpieces feast and converse, while minstrels play lively music in the background. At the head of the hall, a king sits on a grand throne, overseeing the festivities. The hall's stone walls are adorned with tapestries depicting epic battles and legendary heroes, creating an atmosphere of opulence and history.")
41
+ image.images[0].save("output.png")
42
+ ```