Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def get_model_status():
|
|
| 106 |
status_text += f"- Custom Checkpoint (Horizon): {'[OK] Loaded' if converter.models_loaded['custom_checkpoint'] else '[OK] Using SDXL base'}\n"
|
| 107 |
status_text += f"- LORA (RetroArt): {'[OK] Loaded' if converter.models_loaded['lora'] else ' Disabled'}\n"
|
| 108 |
status_text += f"- InstantID: {'[OK] Loaded' if converter.models_loaded['instantid'] else ' Disabled'}\n"
|
| 109 |
-
status_text += f"-
|
| 110 |
status_text += f"- IP-Adapter (Face Embeddings): {'[OK] Loaded' if converter.models_loaded.get('ip_adapter', False) else ' Keypoints only'}\n"
|
| 111 |
return status_text
|
| 112 |
return "**Model status unavailable**"
|
|
@@ -351,7 +351,7 @@ with gr.Blocks(title="Pixagram - AI Pixel Art Generator", theme=gr.themes.Soft()
|
|
| 351 |
**[ADAPTIVE] Automatic Adjustments:**
|
| 352 |
- Small faces (< 50K px): Boosts identity preservation to 1.8
|
| 353 |
- Low confidence (< 80%): Increases identity control to 0.9
|
| 354 |
-
- Profile views (> 20
|
| 355 |
- Good quality faces: Uses your selected parameters
|
| 356 |
|
| 357 |
**[PARAMETERS] Parameter Relationships:**
|
|
@@ -452,4 +452,4 @@ if __name__ == "__main__":
|
|
| 452 |
server_port=7860,
|
| 453 |
share=True,
|
| 454 |
show_api=True
|
| 455 |
-
)
|
|
|
|
| 106 |
status_text += f"- Custom Checkpoint (Horizon): {'[OK] Loaded' if converter.models_loaded['custom_checkpoint'] else '[OK] Using SDXL base'}\n"
|
| 107 |
status_text += f"- LORA (RetroArt): {'[OK] Loaded' if converter.models_loaded['lora'] else ' Disabled'}\n"
|
| 108 |
status_text += f"- InstantID: {'[OK] Loaded' if converter.models_loaded['instantid'] else ' Disabled'}\n"
|
| 109 |
+
status_text += f"- Leres Depth: {'[OK] Loaded' if converter.models_loaded['leres_depth'] else ' Fallback'}\n"
|
| 110 |
status_text += f"- IP-Adapter (Face Embeddings): {'[OK] Loaded' if converter.models_loaded.get('ip_adapter', False) else ' Keypoints only'}\n"
|
| 111 |
return status_text
|
| 112 |
return "**Model status unavailable**"
|
|
|
|
| 351 |
**[ADAPTIVE] Automatic Adjustments:**
|
| 352 |
- Small faces (< 50K px): Boosts identity preservation to 1.8
|
| 353 |
- Low confidence (< 80%): Increases identity control to 0.9
|
| 354 |
+
- Profile views (> 20° yaw): Enhances preservation to 1.7
|
| 355 |
- Good quality faces: Uses your selected parameters
|
| 356 |
|
| 357 |
**[PARAMETERS] Parameter Relationships:**
|
|
|
|
| 452 |
server_port=7860,
|
| 453 |
share=True,
|
| 454 |
show_api=True
|
| 455 |
+
)
|