zc-huhu commited on
Commit
35c5dbb
·
1 Parent(s): 7fe1672
Files changed (3) hide show
  1. app.py +2 -0
  2. data/header.html +2 -1
  3. data/note.html +22 -0
app.py CHANGED
@@ -211,6 +211,8 @@ with gr.Blocks(css=tryon_css) as Huhu_Turbo:
211
 
212
  generate_button.click(fn=run_turbo, inputs=[person_img, garm_img, category], outputs=[result_img, result_info], api_name=False, concurrency_limit=30)
213
 
 
 
214
  with gr.Column(elem_id = "col-examples"):
215
  gr.HTML("""
216
  <div style="display: flex; justify-content: center; align-items: center; text-align: center; font-size: 20px;">
 
211
 
212
  generate_button.click(fn=run_turbo, inputs=[person_img, garm_img, category], outputs=[result_img, result_info], api_name=False, concurrency_limit=30)
213
 
214
+ gr.HTML(load_header("data/note.html"))
215
+
216
  with gr.Column(elem_id = "col-examples"):
217
  gr.HTML("""
218
  <div style="display: flex; justify-content: center; align-items: center; text-align: center; font-size: 20px;">
data/header.html CHANGED
@@ -12,7 +12,8 @@
12
  <br>
13
  <div style="text-align: center; font-size: 24px; max-width: 1000px; margin: 0 auto;">
14
  HuHu Try-on Turbo is a timestep- and guidance-distilled Rectified Flow Transformer <br>
15
- that delivers high-fidelity try-on results at 1024×768 resolution in under 1 second<sup><a href="#note">*</a></sup>, without compromising visual quality.
 
16
  </div>
17
  <br>
18
  <div style="text-align: center; font-size: 16px; max-width: 800px; margin: 0 auto;">
 
12
  <br>
13
  <div style="text-align: center; font-size: 24px; max-width: 1000px; margin: 0 auto;">
14
  HuHu Try-on Turbo is a timestep- and guidance-distilled Rectified Flow Transformer <br>
15
+ that delivers high-fidelity try-on results at 1024×768 resolution in under 1 second<sup><a href="#note">*</a></sup>, <br>
16
+ without compromising visual quality.
17
  </div>
18
  <br>
19
  <div style="text-align: center; font-size: 16px; max-width: 800px; margin: 0 auto;">
data/note.html ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div>
2
+ <div>
3
+ <br>
4
+ <div style="text-align: center; font-size: 30px; max-width: 800px; margin: 0 auto;">
5
+ Key highlights driving our model's exceptional speed and fidelity include: <br>
6
+ <ul>
7
+ <li>Parallel DiT architecture with 16-channel VAE, enabling maximum garment fidelity and fine detail retention </li>
8
+ <li>CFG-augmented consistency distillation, allowing generation in as few as 8 inference steps without needing CFG during inference</li>
9
+ <li>Enhanced dilated clothing-agnostic masking strategy, resulting in more accurate garment outlines</li>
10
+ <li>Trained on 1M+ proprietary garment-image pairs, spanning flatlays, model-to-model scenarios, and a wide diversity of garment types</li>
11
+ </ul>
12
+ </div>
13
+ <br>
14
+ <div style="text-align: center; font-size: 24px; max-width: 800px; margin: 0 auto;">
15
+ <p id="note">
16
+ Please note that “1 second” refers to the try-on generation’s actual processing time. In pactice, additional pre-processing is applied to the model image with computing intermediate representations, and it may add to the overall latency.<br>
17
+ However, these pre-processing overheads can be largely optimized with caching, and deliver a near real-time experience in applications.
18
+ </p>
19
+ </div>
20
+ <br>
21
+ </div>
22
+ </div>