Mathis Petrovich commited on
Commit
dd3991f
1 Parent(s): 6a413a4

hid the title if embedded in a webpage

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,6 +11,7 @@ from load import load_unit_motion_embs_splits, load_keyids_splits
11
 
12
 
13
  WEBSITE = """
 
14
 
15
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
16
  <link href="https://mathis.petrovich.fr/tmr/css/style.css" rel="stylesheet">
@@ -40,7 +41,7 @@ WEBSITE = """
40
  <p>
41
  This space illustrates <a href='https://mathis.petrovich.fr/tmr/' target='_blank'><b>TMR</b></a>, a method for text-to-motion retrieval. Given a gallery of 3D human motions (which can be unseen during training) and a text query, the goal is to search for motions which are close to the text query.
42
  </p>
43
-
44
  """
45
 
46
  EXAMPLES = [
 
11
 
12
 
13
  WEBSITE = """
14
+ <div class="embed_hidden">
15
 
16
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
17
  <link href="https://mathis.petrovich.fr/tmr/css/style.css" rel="stylesheet">
 
41
  <p>
42
  This space illustrates <a href='https://mathis.petrovich.fr/tmr/' target='_blank'><b>TMR</b></a>, a method for text-to-motion retrieval. Given a gallery of 3D human motions (which can be unseen during training) and a text query, the goal is to search for motions which are close to the text query.
43
  </p>
44
+ </div>
45
  """
46
 
47
  EXAMPLES = [