murphylmf commited on
Commit
9b052b0
Β·
1 Parent(s): bf74e21
Files changed (1) hide show
  1. app.py +14 -13
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 class="alert-box" style="background-color: #f0fdf4; border-left: 4px solid #22c55e; color: #15803d;">
507
- <strong style="color: #15803d;">πŸ’‘ Use Tips:</strong>
508
- <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; font-size: 0.85em; line-height: 1.4; color: #15803d;">
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 class="alert-box" style="background-color: #fefce8; border-left: 4px solid #eab308; color: #854d0e;">
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
- <div class="alert-box" style="background-color: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af;">
544
- <strong style="color: #1e40af;">πŸ‘οΈ Visual Quality:</strong><br>
545
- The displayed results are downsampled for better web rendering performance.
 
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