zc-huhu commited on
Commit
449bee0
·
1 Parent(s): 4000296

adjust format

Browse files
Files changed (2) hide show
  1. app.py +6 -15
  2. data/header.html +1 -1
app.py CHANGED
@@ -11,12 +11,9 @@ tryon_css="""
11
  max-width: 420px;
12
  }
13
  #garm_img {
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;
21
  }
22
  #col-person {
@@ -24,12 +21,9 @@ tryon_css="""
24
  max-width: 420px;
25
  }
26
  #person_img {
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;
34
  }
35
  #col-result {
@@ -37,12 +31,9 @@ tryon_css="""
37
  max-width: 420px;
38
  }
39
  #result_img {
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;
47
  }
48
  #col-examples {
 
11
  max-width: 420px;
12
  }
13
  #garm_img {
14
+ aspect-ratio: 3 / 4;
15
+ width: 100%;
16
  max-height: 560px;
 
 
 
17
  object-fit: contain;
18
  }
19
  #col-person {
 
21
  max-width: 420px;
22
  }
23
  #person_img {
24
+ aspect-ratio: 3 / 4;
25
+ width: 100%;
26
  max-height: 560px;
 
 
 
27
  object-fit: contain;
28
  }
29
  #col-result {
 
31
  max-width: 420px;
32
  }
33
  #result_img {
34
+ aspect-ratio: 3 / 4;
35
+ width: 100%;
36
  max-height: 560px;
 
 
 
37
  object-fit: contain;
38
  }
39
  #col-examples {
data/header.html CHANGED
@@ -10,7 +10,7 @@
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>
 
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: 24px; 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>