risunobushi commited on
Commit
9bb1cf9
·
1 Parent(s): 8aa6245

Add disclaimer box under generate button

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -373,6 +373,18 @@ with gr.Blocks(title="YOURMIRROR.IO - SM4LL-VTON Demo") as demo:
373
  label="Model",
374
  )
375
  generate_btn = gr.Button("Generate", variant="primary", size="lg")
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
  # Add spacing
378
  gr.Markdown("<br><br>")
 
373
  label="Model",
374
  )
375
  generate_btn = gr.Button("Generate", variant="primary", size="lg")
376
+
377
+ # Disclaimer box
378
+ gr.Markdown("""
379
+ <div style="background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 15px; margin-top: 15px; font-size: 14px;">
380
+ <strong>Disclaimer:</strong>
381
+ <ul style="margin: 8px 0; padding-left: 20px;">
382
+ <li>Depending on whether the selected model is already loaded, generations take between 20 and 80 seconds</li>
383
+ <li>If the automasking process doesn't find a target, it will throw an error (e.g.: no feet in a Footwear request)</li>
384
+ <li>The Full-Body Garment model is able to generate dresses AND copy full looks, although this latter feature is highly experimental. You can provide a target full look worn by another person, and the model will treat it as a single full-body garment</li>
385
+ </ul>
386
+ </div>
387
+ """)
388
 
389
  # Add spacing
390
  gr.Markdown("<br><br>")