kbrodt commited on
Commit
9bb97f4
1 Parent(s): 5c5f6da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +36 -38
app.py CHANGED
@@ -19,43 +19,37 @@ CMD = textwrap.dedent("""
19
  """)
20
  TITLE = "Sketch2Pose: Estimating a 3D Character Pose from a Bitmap Sketch"
21
  DESCRIPTION = '''
22
- <head>
23
  <style>
24
- html {
25
- margin: 0;
26
- padding: 0;
27
- }
28
- body {
29
- margin: 0 auto;
30
- padding: 0.5em;
31
- text-align: justify;
32
- max-width: 800px;
33
- }
34
- figure {
35
- margin: 0;
36
- font-size: smaller;
37
- text-align: justify;
38
- }
39
- img {
40
- width: auto;
41
- max-width: 100%;
42
- height: auto;
43
- }
44
- video {
45
- width: auto;
46
- max-width: 100%;
47
- height: auto;
48
- }
49
- ul.horizontal {
50
- padding: 0;
51
- }
52
- ul.horizontal li {
53
- padding: 0 1em 0 0;
54
- display: inline-block;
55
- }
56
  </style>
57
- </head>
58
 
 
 
 
59
  <figure>
60
  <img src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/teaser.png" alt="sketch2pose">
61
  <figcaption>
@@ -69,16 +63,20 @@ standard retargeting tools (d). Input image &copy;&nbsp;Olga Posukh.
69
 
70
  <p>
71
  <ul class="horizontal">
 
72
  <li><a href="https://dl.acm.org/doi/10.1145/3528223.3530106">[paper acm siggraph 2022]</a></li>
73
- <li><a href="https://github.com/kbrodt/sketch2pose">[code.git]</a>
74
- <iframe src="https://ghbtns.com/github-btn.html?user=kbrodt&repo=sketch2pose&type=star&count=true&v=2&size=small" frameborder="0" scrolling="0" width="100" height="20"></iframe>
75
- </li>
76
  </ul>
77
  </p>
 
78
 
79
- <video width="560" height="315" controls autoplay muted loop>
 
80
  <source src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/sketch2pose.webm" type="video/mp4">
81
  </video>
 
 
 
82
  '''
83
 
84
 
 
19
  """)
20
  TITLE = "Sketch2Pose: Estimating a 3D Character Pose from a Bitmap Sketch"
21
  DESCRIPTION = '''
 
22
  <style>
23
+ figure {
24
+ margin: 0;
25
+ font-size: smaller;
26
+ text-align: justify;
27
+ }
28
+ img {
29
+ width: auto;
30
+ max-width: 100%;
31
+ height: auto;
32
+ }
33
+ video {
34
+ width: 720;
35
+ max-width: 100%;
36
+ height: 405;
37
+ }
38
+ ul.horizontal {
39
+ padding: 0;
40
+ }
41
+ ul.horizontal li {
42
+ padding: 0 1em 0 0;
43
+ display: inline-block;
44
+ }
45
+ table td {
46
+ vertical-align: top;
47
+ }
 
 
 
 
 
 
 
48
  </style>
 
49
 
50
+ <table>
51
+ <tr>
52
+ <td>
53
  <figure>
54
  <img src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/teaser.png" alt="sketch2pose">
55
  <figcaption>
 
63
 
64
  <p>
65
  <ul class="horizontal">
66
+ <li><a href="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/">[project page]</a></li>
67
  <li><a href="https://dl.acm.org/doi/10.1145/3528223.3530106">[paper acm siggraph 2022]</a></li>
68
+ <li><a href="https://github.com/kbrodt/sketch2pose">[code.git]</a></li>
 
 
69
  </ul>
70
  </p>
71
+ </td>
72
 
73
+ <td>
74
+ <video width="720" height="405" controls autoplay muted loop>
75
  <source src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/sketch2pose.webm" type="video/mp4">
76
  </video>
77
+ </td>
78
+ </tr>
79
+ <table>
80
  '''
81
 
82