ttxskk commited on
Commit
f6cbd78
·
verified ·
1 Parent(s): c434dc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -90,10 +90,17 @@ TITLE = """
90
  </div>
91
  """
92
  VIDEO = '''
93
- <center><iframe width="960" height="540"
94
- src="https://www.youtube.com/embed/yzCL7TYpzvc?si=EoxWNE6VPBxsy7Go"title="AiOS: All-in-One-Stage Expressive Human Pose and Shape Estimation" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen>
95
- </iframe>
96
- </center><br>'''
 
 
 
 
 
 
 
97
  DESCRIPTION = '''
98
  <p>
99
  Note: If a detected person's score is lower than the score threshold, this detection will be discarded. The default value is 0.3.
@@ -102,6 +109,8 @@ Note: If a detected person's score is lower than the score threshold, this detec
102
  with gr.Blocks(title="AiOS", theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
103
 
104
  gr.Markdown(TITLE)
 
 
105
  with gr.Row():
106
  with gr.Column(scale=2):
107
  video_input = gr.Video(label="Input video", elem_classes="video")
 
90
  </div>
91
  """
92
  VIDEO = '''
93
+ <center>
94
+ <iframe width="960" height="540"
95
+ src="https://www.youtube.com/embed/yzCL7TYpzvc?si=EoxWNE6VPBxsy7Go"
96
+ title="AiOS: All-in-One-Stage Expressive Human Pose and Shape Estimation"
97
+ frameborder="0"
98
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
99
+ allowfullscreen>
100
+ </iframe>
101
+ </center><br/>
102
+ '''
103
+
104
  DESCRIPTION = '''
105
  <p>
106
  Note: If a detected person's score is lower than the score threshold, this detection will be discarded. The default value is 0.3.
 
109
  with gr.Blocks(title="AiOS", theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
110
 
111
  gr.Markdown(TITLE)
112
+ gr.HTML(VIDEO)
113
+ gr.Markdown(DESCRIPTION)
114
  with gr.Row():
115
  with gr.Column(scale=2):
116
  video_input = gr.Video(label="Input video", elem_classes="video")