File size: 902 Bytes
80bb04a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import gradio as gr
def create_demo_video_tab():
"""Create the content for the Demo Video tab."""
# Vimeo embed HTML
vimeo_html = """
<div style="padding:56.25% 0 0 0;position:relative;">
<iframe src="https://player.vimeo.com/video/1141884335?badge=0&autopause=0&player_id=0&app_id=58479"
frameborder="0"
allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share"
referrerpolicy="strict-origin-when-cross-origin"
style="position:absolute;top:0;left:0;width:100%;height:100%;"
title="MCP 1st birthday Hackathon - Car Diagnostic Agent">
</iframe>
</div>
<script src="https://player.vimeo.com/api/player.js"></script>
"""
with gr.Column():
gr.Markdown("## Demo Video")
gr.HTML(vimeo_html)
|