Spaces:
Running
on
Zero
Running
on
Zero
Update ui_manager.py
Browse files- ui_manager.py +17 -0
ui_manager.py
CHANGED
|
@@ -916,6 +916,23 @@ class UIManager:
|
|
| 916 |
elem_classes=["primary-button"]
|
| 917 |
)
|
| 918 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 919 |
# Status
|
| 920 |
inpaint_status = gr.Textbox(
|
| 921 |
label="Status",
|
|
|
|
| 916 |
elem_classes=["primary-button"]
|
| 917 |
)
|
| 918 |
|
| 919 |
+
# Processing time reminder
|
| 920 |
+
gr.Markdown(
|
| 921 |
+
"""
|
| 922 |
+
<div style="background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
|
| 923 |
+
border-left: 4px solid #ffa000;
|
| 924 |
+
padding: 12px 16px;
|
| 925 |
+
border-radius: 8px;
|
| 926 |
+
margin: 12px 0;">
|
| 927 |
+
<p style="margin: 0; color: #5d4037; font-size: 14px;">
|
| 928 |
+
⏳ <strong>Please be patient!</strong> Inpainting typically takes <strong>5-7 minutes</strong>
|
| 929 |
+
depending on GPU availability and image complexity.
|
| 930 |
+
Please don't refresh the page while processing.
|
| 931 |
+
</p>
|
| 932 |
+
</div>
|
| 933 |
+
"""
|
| 934 |
+
)
|
| 935 |
+
|
| 936 |
# Status
|
| 937 |
inpaint_status = gr.Textbox(
|
| 938 |
label="Status",
|