Update app.py
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ with gr.Blocks() as demo_precomputed:
|
|
291 |
<tr>
|
292 |
<td>
|
293 |
Platform
|
294 |
-
<img src='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.
|
@@ -299,7 +299,7 @@ with gr.Blocks() as demo_precomputed:
|
|
299 |
</td>
|
300 |
<td>
|
301 |
Pose Estimation of Diver
|
302 |
-
<img src='pose_estimation.png' height='70'>
|
303 |
</td>
|
304 |
<td>
|
305 |
The pose of the diver in the sequence of video frames is critical to understanding and assessing the dive.
|
@@ -308,7 +308,7 @@ with gr.Blocks() as demo_precomputed:
|
|
308 |
</td>
|
309 |
<td>
|
310 |
Splash
|
311 |
-
<img src='splash.png' height='90'>
|
312 |
</td>
|
313 |
<td>
|
314 |
Splash at entry into the pool is a conspicuous visual feature of a dive.
|
@@ -368,7 +368,7 @@ with gr.Blocks() as demo_precomputed:
|
|
368 |
|
369 |
|
370 |
demo_precomputed.queue()
|
371 |
-
demo_precomputed.launch(share=True)
|
372 |
######### gradio where we input first and second folder ##
|
373 |
# demo = gr.Interface(
|
374 |
# fn=get_html_from_finedivingkey,
|
|
|
291 |
<tr>
|
292 |
<td>
|
293 |
Platform
|
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.
|
|
|
299 |
</td>
|
300 |
<td>
|
301 |
Pose Estimation of Diver
|
302 |
+
<img src='file/pose_estimation.png' height='70'>
|
303 |
</td>
|
304 |
<td>
|
305 |
The pose of the diver in the sequence of video frames is critical to understanding and assessing the dive.
|
|
|
308 |
</td>
|
309 |
<td>
|
310 |
Splash
|
311 |
+
<img src='file/splash.png' height='90'>
|
312 |
</td>
|
313 |
<td>
|
314 |
Splash at entry into the pool is a conspicuous visual feature of a dive.
|
|
|
368 |
|
369 |
|
370 |
demo_precomputed.queue()
|
371 |
+
demo_precomputed.launch(share=True, allowed_paths=["platform.png", "splash.png", "pose_estimation.png"])
|
372 |
######### gradio where we input first and second folder ##
|
373 |
# demo = gr.Interface(
|
374 |
# fn=get_html_from_finedivingkey,
|