Update app.py
Browse files
app.py
CHANGED
|
@@ -1407,10 +1407,7 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1407 |
# Depth vs. Canny Basis-Ratio
|
| 1408 |
depth_ratio = 0.8 - (ui_strength * 0.4) # 0.8 → 0.4
|
| 1409 |
canny_ratio = 0.2 + (ui_strength * 0.3) # 0.2 → 0.5
|
| 1410 |
-
|
| 1411 |
-
|
| 1412 |
-
# Anime-Stile
|
| 1413 |
-
anime_keywords = ["anime", "manga", "cartoon", "character", "chibi", "cel-shading", "lineart"]
|
| 1414 |
|
| 1415 |
# Realistic/Photo-Stile
|
| 1416 |
#realistic_keywords = ["photorealistic", "photography", "photo", "realistic", "portrait", "studio", "cinematic"]
|
|
|
|
| 1407 |
# Depth vs. Canny Basis-Ratio
|
| 1408 |
depth_ratio = 0.8 - (ui_strength * 0.4) # 0.8 → 0.4
|
| 1409 |
canny_ratio = 0.2 + (ui_strength * 0.3) # 0.2 → 0.5
|
| 1410 |
+
|
|
|
|
|
|
|
|
|
|
| 1411 |
|
| 1412 |
# Realistic/Photo-Stile
|
| 1413 |
#realistic_keywords = ["photorealistic", "photography", "photo", "realistic", "portrait", "studio", "cinematic"]
|