xyizko commited on
Commit
8fe420a
·
verified ·
1 Parent(s): 2d292f5

xyizko-DemoVid

Browse files

xyizko - Add Youtube DemoVid

Files changed (1) hide show
  1. app.py +18 -3
app.py CHANGED
@@ -25,12 +25,26 @@ from huggingface_hub import InferenceClient
25
  # App Introduction Function (UPDATED with MCP info)
26
 
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  def app_intro():
29
  intro_text = """
30
  # Xyizko - MCP Hackathon 2025 Submission - Smart Contract Analyzer
31
- 1. This gradio app serves as a skeleton for the MCP Hackathon 2025 project.
32
- 2. As components are developed they will be added to this app.
33
- 3. https://huggingface.co/Agents-MCP-Hackathon - Official Hackathon Announcement
 
34
 
35
  # App Description
36
  **AI-Powered Smart Contract Security Analysis Platform**
@@ -839,6 +853,7 @@ with gr.Blocks(
839
  ) as demo:
840
 
841
  with gr.Tab("🏠 Introduction"):
 
842
  app_intro()
843
 
844
  with gr.Tab("🔍 Contract Analyzer"):
 
25
  # App Introduction Function (UPDATED with MCP info)
26
 
27
 
28
+ def demo_vid():
29
+ gr.HTML("""
30
+ <iframe width="560" height="315"
31
+ src="https://www.youtube.com/embed/Ttj49yTI46w?si=1FZeoSNivLxozQy0"
32
+ title="YouTube video player"
33
+ frameborder="0"
34
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
35
+ referrerpolicy="strict-origin-when-cross-origin"
36
+ allowfullscreen>
37
+ </iframe>
38
+ """)
39
+
40
+
41
  def app_intro():
42
  intro_text = """
43
  # Xyizko - MCP Hackathon 2025 Submission - Smart Contract Analyzer
44
+ 1. This is a submission for the Gradio MCP Hackathon Project.
45
+ 2. https://huggingface.co/Agents-MCP-Hackathon - Official Hackathon Announcement.
46
+ 3. Project is both Agentic and a MCP Server uisng HugginFace an Gradio Libraries.
47
+
48
 
49
  # App Description
50
  **AI-Powered Smart Contract Security Analysis Platform**
 
853
  ) as demo:
854
 
855
  with gr.Tab("🏠 Introduction"):
856
+ demo_vid()
857
  app_intro()
858
 
859
  with gr.Tab("🔍 Contract Analyzer"):