castlebbs commited on
Commit
80bb04a
·
1 Parent(s): b548d1d
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +4 -0
  3. demo_video.py +22 -0
README.md CHANGED
@@ -15,7 +15,7 @@ tags:
15
  - mcp-in-action-track-consumer
16
  ---
17
 
18
- - Video recordings:
19
  - Post to social media:
20
  - Team usernames: @castlebbs, @stargarnet
21
  - Sponsor: Nebius Token Factory
 
15
  - mcp-in-action-track-consumer
16
  ---
17
 
18
+ - Video recordings: https://vimeo.com/1141884335
19
  - Post to social media:
20
  - Team usernames: @castlebbs, @stargarnet
21
  - Sponsor: Nebius Token Factory
app.py CHANGED
@@ -16,6 +16,7 @@ from dtc_display import DTCDisplay
16
  from tools import search_youtube_video, decode_vin, hex_to_decimal, calculate_obd_value, combine_bytes
17
  from prompts import system_prompt
18
  from hackathon_detail import create_hackathon_detail_tab
 
19
  from mcp_server_detail import create_mcp_server_tab
20
 
21
  # from langchain_anthropic import ChatAnthropic
@@ -596,6 +597,9 @@ with gr.Blocks() as demo:
596
  wrap=True
597
  )
598
 
 
 
 
599
  with gr.Tab("Hackathon project detail"):
600
  create_hackathon_detail_tab()
601
 
 
16
  from tools import search_youtube_video, decode_vin, hex_to_decimal, calculate_obd_value, combine_bytes
17
  from prompts import system_prompt
18
  from hackathon_detail import create_hackathon_detail_tab
19
+ from demo_video import create_demo_video_tab
20
  from mcp_server_detail import create_mcp_server_tab
21
 
22
  # from langchain_anthropic import ChatAnthropic
 
597
  wrap=True
598
  )
599
 
600
+ with gr.Tab("Demo Video"):
601
+ create_demo_video_tab()
602
+
603
  with gr.Tab("Hackathon project detail"):
604
  create_hackathon_detail_tab()
605
 
demo_video.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def create_demo_video_tab():
4
+ """Create the content for the Demo Video tab."""
5
+
6
+ # Vimeo embed HTML
7
+ vimeo_html = """
8
+ <div style="padding:56.25% 0 0 0;position:relative;">
9
+ <iframe src="https://player.vimeo.com/video/1141884335?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"
10
+ frameborder="0"
11
+ allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share"
12
+ referrerpolicy="strict-origin-when-cross-origin"
13
+ style="position:absolute;top:0;left:0;width:100%;height:100%;"
14
+ title="MCP 1st birthday Hackathon - Car Diagnostic Agent">
15
+ </iframe>
16
+ </div>
17
+ <script src="https://player.vimeo.com/api/player.js"></script>
18
+ """
19
+
20
+ with gr.Column():
21
+ gr.Markdown("## Demo Video")
22
+ gr.HTML(vimeo_html)