Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,7 @@ with gr.Blocks(title="Pixagram - AI Pixel Art Generator", theme=gr.themes.Soft()
|
|
| 173 |
scheduler_info = f"""
|
| 174 |
**[CONFIG] Advanced Configuration:**
|
| 175 |
- Pipeline: **InstantID Img2Img** (native face preservation)
|
| 176 |
-
- Face System: **InstantID + InsightFace** (512D embeddings
|
| 177 |
- **[INSTANTID] Built-in Resampler:** 4 layers, 20 heads (official architecture)
|
| 178 |
- **[INSTANTID] IP-Adapter:** Native attention processors
|
| 179 |
- **[INSTANTID] Dual ControlNets:** Face keypoints + Depth
|
|
@@ -350,7 +350,7 @@ with gr.Blocks(title="Pixagram - AI Pixel Art Generator", theme=gr.themes.Soft()
|
|
| 350 |
**[ADAPTIVE] Automatic Adjustments:**
|
| 351 |
- Small faces (< 50K px): Boosts identity preservation to 1.8
|
| 352 |
- Low confidence (< 80%): Increases identity control to 0.9
|
| 353 |
-
- Profile views (>
|
| 354 |
- Good quality faces: Uses your selected parameters
|
| 355 |
|
| 356 |
**[PARAMETERS] Parameter Relationships:**
|
|
@@ -451,4 +451,4 @@ if __name__ == "__main__":
|
|
| 451 |
server_port=7860,
|
| 452 |
share=True,
|
| 453 |
show_api=True
|
| 454 |
-
)
|
|
|
|
| 173 |
scheduler_info = f"""
|
| 174 |
**[CONFIG] Advanced Configuration:**
|
| 175 |
- Pipeline: **InstantID Img2Img** (native face preservation)
|
| 176 |
+
- Face System: **InstantID + InsightFace** (512D embeddings → 16×2048D)
|
| 177 |
- **[INSTANTID] Built-in Resampler:** 4 layers, 20 heads (official architecture)
|
| 178 |
- **[INSTANTID] IP-Adapter:** Native attention processors
|
| 179 |
- **[INSTANTID] Dual ControlNets:** Face keypoints + Depth
|
|
|
|
| 350 |
**[ADAPTIVE] Automatic Adjustments:**
|
| 351 |
- Small faces (< 50K px): Boosts identity preservation to 1.8
|
| 352 |
- Low confidence (< 80%): Increases identity control to 0.9
|
| 353 |
+
- Profile views (> 20° yaw): Enhances preservation to 1.7
|
| 354 |
- Good quality faces: Uses your selected parameters
|
| 355 |
|
| 356 |
**[PARAMETERS] Parameter Relationships:**
|
|
|
|
| 451 |
server_port=7860,
|
| 452 |
share=True,
|
| 453 |
show_api=True
|
| 454 |
+
)
|