Update app.py
Browse files
app.py
CHANGED
|
@@ -1463,9 +1463,9 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1463 |
#is_back_head = any(keyword in prompt_lower for keyword in back_head_keywords)
|
| 1464 |
|
| 1465 |
# Fallback: Wenn keine spezifischen Keywords, annehmen es ist Gesicht
|
| 1466 |
-
if not is_front_face and not is_back_head:
|
| 1467 |
-
|
| 1468 |
-
|
| 1469 |
|
| 1470 |
print(f" 🎯 Gesichtserkennung: Vorne={is_front_face}, Hinten={is_back_head}")
|
| 1471 |
|
|
|
|
| 1463 |
#is_back_head = any(keyword in prompt_lower for keyword in back_head_keywords)
|
| 1464 |
|
| 1465 |
# Fallback: Wenn keine spezifischen Keywords, annehmen es ist Gesicht
|
| 1466 |
+
#if not is_front_face and not is_back_head:
|
| 1467 |
+
# is_front_face = True # Standard: Gesicht vorne
|
| 1468 |
+
# print(" ℹ️ Keine Gesicht/Hinterkopf-Keywords → Standard: Gesicht vorne")
|
| 1469 |
|
| 1470 |
print(f" 🎯 Gesichtserkennung: Vorne={is_front_face}, Hinten={is_back_head}")
|
| 1471 |
|