Update app.py
Browse files
app.py
CHANGED
|
@@ -20,10 +20,10 @@ DEFAULT_VALUES = {
|
|
| 20 |
HELP_TEXT = """
|
| 21 |
If you're not getting what you want, there may be a few reasons:
|
| 22 |
1. Is the image not changing enough? Your Image CFG weight may be too high. This value dictates how similar the output should be to the input. It's possible your edit requires larger changes from the original image, and your Image CFG weight isn't allowing that. Alternatively, your Text CFG weight may be too low. This value dictates how much to listen to the text instruction. The default Image CFG of 1.5 and Text CFG of 7.5 are a good starting point, but aren't necessarily optimal for each edit. Try:
|
| 23 |
-
* Decreasing the Image CFG weight
|
| 24 |
-
* Incerasing the Text CFG weight
|
| 25 |
2. Conversely, is the image changing too much, such that the details in the original image aren't preserved? Try:
|
| 26 |
-
* Increasing the Image CFG weight
|
| 27 |
* Decreasing the Text CFG weight
|
| 28 |
3. Try generating results with different random seeds by setting "Randomize Seed" and running generation multiple times. You can also try setting "Randomize CFG" to sample new Text CFG and Image CFG values each time.
|
| 29 |
4. Rephrasing the instruction sometimes improves results (e.g., "turn him into a dog" vs. "make him a dog" vs. "as a dog").
|
|
|
|
| 20 |
HELP_TEXT = """
|
| 21 |
If you're not getting what you want, there may be a few reasons:
|
| 22 |
1. Is the image not changing enough? Your Image CFG weight may be too high. This value dictates how similar the output should be to the input. It's possible your edit requires larger changes from the original image, and your Image CFG weight isn't allowing that. Alternatively, your Text CFG weight may be too low. This value dictates how much to listen to the text instruction. The default Image CFG of 1.5 and Text CFG of 7.5 are a good starting point, but aren't necessarily optimal for each edit. Try:
|
| 23 |
+
* Decreasing the Image CFG weight
|
| 24 |
+
* Incerasing the Text CFG weight
|
| 25 |
2. Conversely, is the image changing too much, such that the details in the original image aren't preserved? Try:
|
| 26 |
+
* Increasing the Image CFG weight
|
| 27 |
* Decreasing the Text CFG weight
|
| 28 |
3. Try generating results with different random seeds by setting "Randomize Seed" and running generation multiple times. You can also try setting "Randomize CFG" to sample new Text CFG and Image CFG values each time.
|
| 29 |
4. Rephrasing the instruction sometimes improves results (e.g., "turn him into a dog" vs. "make him a dog" vs. "as a dog").
|