kelseye commited on
Commit
7aaa8a6
·
verified ·
1 Parent(s): 662278d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -3,7 +3,7 @@ license: apache-2.0
3
  ---
4
  # Templates-Super-Resolution (FLUX.2-klein-base-4B)
5
 
6
- This model is one of the Diffusion Templates series models in the open-source [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio). Specifically designed for image super-resolution, it takes low-resolution input images and redraws them with rich high-definition details while preserving the original composition and semantics.
7
 
8
  ## Results
9
 
@@ -74,11 +74,11 @@ image = template(
74
  pipe,
75
  prompt="A cat is sitting on a stone.",
76
  seed=0, cfg_scale=4, num_inference_steps=50,
77
- template_inputs = [{
78
  "image": Image.open("data/examples/templates/image_lowres_512.jpg"),
79
  "prompt": "A cat is sitting on a stone.",
80
  }],
81
- negative_template_inputs = [{
82
  "image": Image.open("data/examples/templates/image_lowres_512.jpg"),
83
  "prompt": "",
84
  }],
@@ -88,11 +88,11 @@ image = template(
88
  pipe,
89
  prompt="A cat is sitting on a stone.",
90
  seed=0, cfg_scale=4, num_inference_steps=50,
91
- template_inputs = [{
92
  "image": Image.open("data/examples/templates/image_lowres_100.jpg"),
93
  "prompt": "A cat is sitting on a stone.",
94
  }],
95
- negative_template_inputs = [{
96
  "image": Image.open("data/examples/templates/image_lowres_100.jpg"),
97
  "prompt": "",
98
  }],
@@ -173,7 +173,7 @@ image.save("image_Upscaler_2.png")
173
 
174
  ```
175
 
176
- ## Training Code
177
 
178
  After installing DiffSynth-Studio, use the following script to start training. For more information, please refer to the [DiffSynth-Studio Documentation](https://diffsynth-studio-doc.readthedocs.io/zh-cn/latest/).
179
 
 
3
  ---
4
  # Templates-Super-Resolution (FLUX.2-klein-base-4B)
5
 
6
+ This model is part of the open-source Diffusion Templates series by [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio). Specifically designed for image super-resolution, it takes low-resolution input images and redraws them with rich high-definition details while preserving the original composition and semantics.
7
 
8
  ## Results
9
 
 
74
  pipe,
75
  prompt="A cat is sitting on a stone.",
76
  seed=0, cfg_scale=4, num_inference_steps=50,
77
+ template_inputs=[{
78
  "image": Image.open("data/examples/templates/image_lowres_512.jpg"),
79
  "prompt": "A cat is sitting on a stone.",
80
  }],
81
+ negative_template_inputs=[{
82
  "image": Image.open("data/examples/templates/image_lowres_512.jpg"),
83
  "prompt": "",
84
  }],
 
88
  pipe,
89
  prompt="A cat is sitting on a stone.",
90
  seed=0, cfg_scale=4, num_inference_steps=50,
91
+ template_inputs=[{
92
  "image": Image.open("data/examples/templates/image_lowres_100.jpg"),
93
  "prompt": "A cat is sitting on a stone.",
94
  }],
95
+ negative_template_inputs=[{
96
  "image": Image.open("data/examples/templates/image_lowres_100.jpg"),
97
  "prompt": "",
98
  }],
 
173
 
174
  ```
175
 
176
+ ## Training Script
177
 
178
  After installing DiffSynth-Studio, use the following script to start training. For more information, please refer to the [DiffSynth-Studio Documentation](https://diffsynth-studio-doc.readthedocs.io/zh-cn/latest/).
179