bogeumkim commited on
Commit
c5fb833
Β·
verified Β·
1 Parent(s): c33a849

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -25,6 +25,16 @@ DEFAULT_VALUE = (
25
  "As someone who likes and is good at using Hugging Face, I hope there will be more opportunities like this! πŸ€—"
26
  )
27
 
 
 
 
 
 
 
 
 
 
 
28
  with gr.Blocks(gr.themes.Origin()) as demo:
29
  gr.HTML("<h1 style='text-align:center;'>πŸ€– ARA: Auto README.md Agent πŸ“</h1>")
30
  with gr.Tabs():
@@ -58,7 +68,7 @@ with gr.Blocks(gr.themes.Origin()) as demo:
58
  )
59
  with gr.TabItem("Demo Video"):
60
  gr.Markdown("### Demo Video")
61
- gr.Video("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
62
  with gr.TabItem("About"):
63
  with gr.Row():
64
  with gr.Column(scale=1):
 
25
  "As someone who likes and is good at using Hugging Face, I hope there will be more opportunities like this! πŸ€—"
26
  )
27
 
28
+ EMBED_HTML = '''<div style="display: flex; justify-content: center; align-items: center; margin-top: 20px;">
29
+ <iframe width="900" height="506"
30
+ src="https://www.youtube.com/embed/6M9dx-uHN1Q?si=X2s2vxkcVP2LVboF"
31
+ title="YouTube video player" frameborder="0"
32
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
33
+ referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
34
+ </iframe>
35
+ </div>
36
+ '''
37
+
38
  with gr.Blocks(gr.themes.Origin()) as demo:
39
  gr.HTML("<h1 style='text-align:center;'>πŸ€– ARA: Auto README.md Agent πŸ“</h1>")
40
  with gr.Tabs():
 
68
  )
69
  with gr.TabItem("Demo Video"):
70
  gr.Markdown("### Demo Video")
71
+ gr.HTML(EMBED_HTML)
72
  with gr.TabItem("About"):
73
  with gr.Row():
74
  with gr.Column(scale=1):