zc-huhu commited on
Commit
4000296
·
1 Parent(s): 4d958b5

adjust format

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. data/header.html +3 -3
app.py CHANGED
@@ -14,7 +14,7 @@ tryon_css="""
14
  display: block;
15
  margin: 0 auto;
16
  max-height: 560px;
17
- max-width: 100%;
18
  height: auto;
19
  width: auto;
20
  object-fit: contain;
@@ -27,7 +27,7 @@ tryon_css="""
27
  display: block;
28
  margin: 0 auto;
29
  max-height: 560px;
30
- max-width: 100%;
31
  height: auto;
32
  width: auto;
33
  object-fit: contain;
@@ -40,7 +40,7 @@ tryon_css="""
40
  display: block;
41
  margin: 0 auto;
42
  max-height: 560px;
43
- max-width: 100%;
44
  height: auto;
45
  width: auto;
46
  object-fit: contain;
 
14
  display: block;
15
  margin: 0 auto;
16
  max-height: 560px;
17
+ max-width: 420px;
18
  height: auto;
19
  width: auto;
20
  object-fit: contain;
 
27
  display: block;
28
  margin: 0 auto;
29
  max-height: 560px;
30
+ max-width: 420px;
31
  height: auto;
32
  width: auto;
33
  object-fit: contain;
 
40
  display: block;
41
  margin: 0 auto;
42
  max-height: 560px;
43
+ max-width: 420px;
44
  height: auto;
45
  width: auto;
46
  object-fit: contain;
data/header.html CHANGED
@@ -10,14 +10,14 @@
10
  <a href="https://huhu.ai/try-on-api/"><img src="https://img.shields.io/badge/API-Huhu%20AI-red?style=plastic"></a>
11
  </div>
12
  <br>
13
- <div style="display: flex; text-align: center; font-size: 20px; padding-right: 150px; padding-left: 150px;">
14
  Try the fastest virtual try-on model — generation can be completed in as little as 10 seconds. <br>
15
  If you like our project please visit our official website for the latest model updates.
16
  </div>
17
- <div style="display: flex; text-align: center; font-size: 16px; padding-right: 200px; padding-left: 200px;">
18
  You can not only use your own garments but also upload your own model photos for generation. <br>
19
  After uploading a garment image, please select the corresponding clothing type. <br>
20
  <i>Please ensure that any images you upload (e.g., model photos) do not infringe third-party rights.</i>
21
  </div>
22
- </div>
23
  </div>
 
10
  <a href="https://huhu.ai/try-on-api/"><img src="https://img.shields.io/badge/API-Huhu%20AI-red?style=plastic"></a>
11
  </div>
12
  <br>
13
+ <div style="text-align: center; font-size: 16px; max-width: 1000px; margin: 0 auto;">
14
  Try the fastest virtual try-on model — generation can be completed in as little as 10 seconds. <br>
15
  If you like our project please visit our official website for the latest model updates.
16
  </div>
17
+ <div style="text-align: center; font-size: 16px; max-width: 800px; margin: 0 auto;">
18
  You can not only use your own garments but also upload your own model photos for generation. <br>
19
  After uploading a garment image, please select the corresponding clothing type. <br>
20
  <i>Please ensure that any images you upload (e.g., model photos) do not infringe third-party rights.</i>
21
  </div>
22
+ </div>g
23
  </div>