Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,7 +215,18 @@ with gr.Blocks(css=css) as demo:
|
|
| 215 |
outputs=[video_out, text_out],
|
| 216 |
#cache_examples=True # Cache examples for faster loading
|
| 217 |
)
|
| 218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
btn_in.click(
|
| 220 |
fn=predict_video,
|
| 221 |
inputs=[video_in,audio_in,choice_in],
|
|
|
|
| 215 |
outputs=[video_out, text_out],
|
| 216 |
#cache_examples=True # Cache examples for faster loading
|
| 217 |
)
|
| 218 |
+
with gr.Column():
|
| 219 |
+
gr.HTML("""
|
| 220 |
+
<h3> Audio Library </h2>
|
| 221 |
+
<p> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/1_seconds_haptic_audio.mp3"> Explosion Audio Track 1 </a>
|
| 222 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/5_seconds_haptic_videos.mp3"> Explosion Audio Track 2 </a>
|
| 223 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/6_seconds_haptic_audio.mp3"> Explosion Audio Track 3 </a>
|
| 224 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/7_seconds_haptic_audio.mp3"> Explosion Audio Track 4 </a>
|
| 225 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/9_seconds_haptic_videos.mp3"> Explosion Audio Track 5 </a>
|
| 226 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/5_seconds_vehicle_audio.mp3"> Vehicle Audio Track 1 </a>
|
| 227 |
+
<br> <a href="https://audiolibrary.blob.core.windows.net/audiolibrary/30_seconds_vehicle_audio.mp3"> Vehicle Audio Track 2 </a>
|
| 228 |
+
</p>
|
| 229 |
+
""")
|
| 230 |
btn_in.click(
|
| 231 |
fn=predict_video,
|
| 232 |
inputs=[video_in,audio_in,choice_in],
|