Update app.py (#12)
Browse files- Update app.py (f0c769f855ba7935614a36fc27c784d3e20006aa)
Co-authored-by: Victoria Latynina <victoria-latynina@users.noreply.huggingface.co>
app.py
CHANGED
@@ -27,18 +27,6 @@ DESCRIPTION_MD = (
|
|
27 |
"- [Healthcare MCP with PubMed, FDA and other APIs](https://huggingface.co/spaces/Agents-MCP-Hackathon/healthcare-mcp-public)\n"
|
28 |
)
|
29 |
|
30 |
-
video_embed = """
|
31 |
-
<div style="text-align: center;">
|
32 |
-
<h3>How to Use WellBe+ Assistant</h3>
|
33 |
-
<iframe width="560" height="315"
|
34 |
-
src="https://www.youtube.com/embed/iP4L3cLgD84"
|
35 |
-
title="Our Demo on YouTube"
|
36 |
-
frameborder="0"
|
37 |
-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
38 |
-
allowfullscreen>
|
39 |
-
</iframe>
|
40 |
-
</div>
|
41 |
-
"""
|
42 |
|
43 |
logo_html = """
|
44 |
<img src="https://raw.githubusercontent.com/Alea4jacta6est/drug-interaction-checker-agent/main/docs/images/logo.png"
|
@@ -53,7 +41,7 @@ def build_interface() -> gr.Blocks:
|
|
53 |
with gr.Column(scale=2):
|
54 |
gr.Markdown(DESCRIPTION_MD)
|
55 |
with gr.Column(scale=1):
|
56 |
-
gr.
|
57 |
with gr.Row():
|
58 |
# -----------------------------------------------------------------
|
59 |
# Left column – credential inputs
|
|
|
27 |
"- [Healthcare MCP with PubMed, FDA and other APIs](https://huggingface.co/spaces/Agents-MCP-Hackathon/healthcare-mcp-public)\n"
|
28 |
)
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
logo_html = """
|
32 |
<img src="https://raw.githubusercontent.com/Alea4jacta6est/drug-interaction-checker-agent/main/docs/images/logo.png"
|
|
|
41 |
with gr.Column(scale=2):
|
42 |
gr.Markdown(DESCRIPTION_MD)
|
43 |
with gr.Column(scale=1):
|
44 |
+
gr.Video(value="docs/demo.mp4", autoplay=True)
|
45 |
with gr.Row():
|
46 |
# -----------------------------------------------------------------
|
47 |
# Left column – credential inputs
|