Update parameters.md

This commit is contained in:
lunarring 2023-01-09 13:47:07 +01:00 committed by GitHub
parent c955d7092c
commit e4fec96ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 9 deletions

View File

@ -1,21 +1,28 @@
# Gradio parameters
# Gradio Parameters
## depth_strength
determines when the blending process will begin in terms of diffusion steps. A value close to zero results in more creative and intricate outcomes, while a value closer to one indicates a simpler alpha blending. However, low values may also bring about the introduction of additional objects and motion.
- Determines when the blending process will begin in terms of diffusion steps.
- A value close to zero results in more creative and intricate outcomes, but may also introduce additional objects and motion.
- A value closer to one indicates a simpler alpha blending.
## guidance_scale
higher guidance scale encourages the creation of images that are closely aligned with the text. However, the best results for latent blending are achieved with lower values.
- Higher guidance scale encourages the creation of images that are closely aligned with the text.
- Lower values are recommended for the best results in latent blending.
## guidance_scale_mid_damper
decreases the guidance scale in the middle of a transition. A value of 1 would maintain a constant guidance scale, while a value of 0 would decrease the guidance scale to 1 at the midpoint of the transition
- Decreases the guidance scale in the middle of a transition.
- A value of 1 maintains a constant guidance scale.
- A value of 0 decreases the guidance scale to 1 at the midpoint of the transition.
## mid_compression_scaler
stretches the spacing towards the center, with a linear spacing at mid_compression_scaler=1 and a higher sampling density in the middle at mid_compression_scaler=2
- Stretches the spacing towards the center.
- A value of 1 results in linear spacing.
- A value of 2 increases sampling density in the middle.
## num_inference_steps
determines the quality of the results. While an increase in this value may improve the outcome, it will also require more computation time.
- Determines the quality of the results.
- Higher values improve the outcome, but also require more computation time.
## nmb_trans_images
final number of images computed in the last branch of the tree. Higher values will give better results but require more computation time.
- Final number of images computed in the last branch of the tree.
- Higher values give better results but require more computation time.