laurenok24 commited on
Commit
4673362
·
verified ·
1 Parent(s): 7c41c5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -280,7 +280,7 @@ with gr.Blocks() as demo_precomputed:
280
 
281
  gr.Markdown(
282
  """
283
- ## Step 1: Abstract Symbols
284
  We first abstract the necessary visual elements from the provided diving video. This includes the platform, splash, and the pose estimation of the diver.
285
  """
286
  )
@@ -294,8 +294,8 @@ with gr.Blocks() as demo_precomputed:
294
  <img src='file/platform.png' height='90'>
295
  </td>
296
  <td>
297
- The location of the platform, especially the position of its edge facing the pool, is crucial to determine when the diver leaves the platform, thus starting their dive.
298
- The platform location is also important to assess how close the diver comes to its edge, which is relevant to scoring.
299
  </td>
300
  <td>
301
  Pose Estimation of Diver
@@ -303,8 +303,7 @@ with gr.Blocks() as demo_precomputed:
303
  </td>
304
  <td>
305
  The pose of the diver in the sequence of video frames is critical to understanding and assessing the dive.
306
- We obtain 2D pose data with locations of various body parts, including the head, thorax, pelvis, shoulders, elbows, wrists, hips, knees, and ankles.
307
- With this, we can recognize sub-actions being performed by the diver, such as a somersault, a twist, or an entry, and also assess the quality of that sub-action.
308
  </td>
309
  <td>
310
  Splash
@@ -325,15 +324,13 @@ with gr.Blocks() as demo_precomputed:
325
  2. Hit the **Abstract Symbols** button.
326
  """
327
  )
328
-
329
- examples = gr.Examples(examples = [['01_10.mp4'], ['01_11.mp4'], ['01_16.mp4'], ['01_33.mp4'], ['01_76.mp4'], ['01_140.mp4']], inputs=[video])
330
 
331
  with gr.Row(variant='panel'):
332
  with gr.Column():
333
  video = gr.Video(label="Video", format="mp4", include_audio=False, sources=["upload"], interactive=False)
334
  abstract_symbols_btn = gr.Button("Abstract Symbols", variant='secondary')
335
  symbol_output = gr.HTML(label="Output")
336
-
337
  gr.Markdown(
338
  """
339
  ## Step 2: Calculate Logic-Based Errors and Generate Detailed Score Report
 
280
 
281
  gr.Markdown(
282
  """
283
+ ## Step 1: Neural Symbol Abstraction
284
  We first abstract the necessary visual elements from the provided diving video. This includes the platform, splash, and the pose estimation of the diver.
285
  """
286
  )
 
294
  <img src='file/platform.png' height='90'>
295
  </td>
296
  <td>
297
+ The location of the platform is crucial to determine when the diver leaves the platform, thus starting their dive.
298
+ It is also important to assess how close the diver comes to its edge, which is relevant to scoring.
299
  </td>
300
  <td>
301
  Pose Estimation of Diver
 
303
  </td>
304
  <td>
305
  The pose of the diver in the sequence of video frames is critical to understanding and assessing the dive.
306
+ We obtain 2D pose data with locations of various body parts to recognize sub-actions being performed by the diver, such as a somersault, a twist, or an entry, and also assess the quality of that sub-action.
 
307
  </td>
308
  <td>
309
  Splash
 
324
  2. Hit the **Abstract Symbols** button.
325
  """
326
  )
 
 
327
 
328
  with gr.Row(variant='panel'):
329
  with gr.Column():
330
  video = gr.Video(label="Video", format="mp4", include_audio=False, sources=["upload"], interactive=False)
331
  abstract_symbols_btn = gr.Button("Abstract Symbols", variant='secondary')
332
  symbol_output = gr.HTML(label="Output")
333
+ examples = gr.Examples(examples = [['01_10.mp4'], ['01_11.mp4'], ['01_16.mp4'], ['01_33.mp4'], ['01_76.mp4'], ['01_140.mp4']], inputs=[video])
334
  gr.Markdown(
335
  """
336
  ## Step 2: Calculate Logic-Based Errors and Generate Detailed Score Report