Spaces:
Sleeping
Sleeping
murphylmf commited on
Commit Β·
9b052b0
1
Parent(s): bf74e21
update
Browse files
app.py
CHANGED
|
@@ -503,13 +503,13 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="indigo", radius_size="md"), css
|
|
| 503 |
end_time = gr.Slider(minimum=0, maximum=10, value=3, step=0.01, label="End Time (s)")
|
| 504 |
|
| 505 |
gr.HTML("""
|
| 506 |
-
<div
|
| 507 |
-
<
|
| 508 |
-
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
|
| 509 |
-
<div>1. Contain only a <strong>single person</strong>.</div>
|
| 510 |
-
<div>2. <strong>No occlusion</strong> (self-occlusion is fine).</div>
|
| 511 |
-
<div>3. Keep the <strong>full body</strong> mostly visible.</div>
|
| 512 |
-
<div>4. Subject should <strong>not be too small</strong>.</div>
|
| 513 |
</div>
|
| 514 |
</div>
|
| 515 |
""")
|
|
@@ -536,13 +536,14 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="indigo", radius_size="md"), css
|
|
| 536 |
)
|
| 537 |
|
| 538 |
gr.HTML("""
|
| 539 |
-
<div
|
| 540 |
-
<strong style="color: #854d0e;">β‘ Performance Note:</strong><br>
|
| 541 |
-
Inference (feed-forward) is very fast, but generating visualization assets (meshing & rendering) takes up most of the processing time.
|
| 542 |
</div>
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
|
|
|
|
| 546 |
</div>
|
| 547 |
""")
|
| 548 |
|
|
|
|
| 503 |
end_time = gr.Slider(minimum=0, maximum=10, value=3, step=0.01, label="End Time (s)")
|
| 504 |
|
| 505 |
gr.HTML("""
|
| 506 |
+
<div style="background-color: #f0fdf4; border-left: 4px solid #22c55e; padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; color: #15803d !important;">
|
| 507 |
+
<div style="font-weight: bold; margin-bottom: 8px; color: #15803d !important;">π‘ Use Tips:</div>
|
| 508 |
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.9em; line-height: 1.4; color: #15803d !important;">
|
| 509 |
+
<div style="color: #15803d !important;">1. Contain only a <strong style="color: #15803d !important;">single person</strong>.</div>
|
| 510 |
+
<div style="color: #15803d !important;">2. <strong style="color: #15803d !important;">No occlusion</strong> (self-occlusion is fine).</div>
|
| 511 |
+
<div style="color: #15803d !important;">3. Keep the <strong style="color: #15803d !important;">full body</strong> mostly visible.</div>
|
| 512 |
+
<div style="color: #15803d !important;">4. Subject should <strong style="color: #15803d !important;">not be too small</strong>.</div>
|
| 513 |
</div>
|
| 514 |
</div>
|
| 515 |
""")
|
|
|
|
| 536 |
)
|
| 537 |
|
| 538 |
gr.HTML("""
|
| 539 |
+
<div style="background-color: #fefce8; border-left: 4px solid #eab308; padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; color: #854d0e !important;">
|
| 540 |
+
<strong style="color: #854d0e !important;">β‘ Performance Note:</strong><br>
|
| 541 |
+
<span style="color: #854d0e !important;">Inference (feed-forward) is very fast, but generating visualization assets (meshing & rendering) takes up most of the processing time.</span>
|
| 542 |
</div>
|
| 543 |
+
|
| 544 |
+
<div style="background-color: #eff6ff; border-left: 4px solid #3b82f6; padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; color: #1e40af !important;">
|
| 545 |
+
<strong style="color: #1e40af !important;">ποΈ Visual Quality:</strong><br>
|
| 546 |
+
<span style="color: #1e40af !important;">The displayed results are downsampled for better web rendering performance.</span>
|
| 547 |
</div>
|
| 548 |
""")
|
| 549 |
|