Jonas
commited on
Commit
·
c1bd891
1
Parent(s):
9b996f0
fix youtube embeed
Browse files- app.py +9 -0
- gradio_readme.md +0 -2
app.py
CHANGED
|
@@ -234,6 +234,15 @@ with gr.Blocks(title="Medication Adverse-Event Explorer") as demo:
|
|
| 234 |
|
| 235 |
with gr.Tabs():
|
| 236 |
with gr.TabItem("About"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
gr.Markdown(readme_content)
|
| 238 |
|
| 239 |
with gr.TabItem("Top Events"):
|
|
|
|
| 234 |
|
| 235 |
with gr.Tabs():
|
| 236 |
with gr.TabItem("About"):
|
| 237 |
+
gr.HTML("""
|
| 238 |
+
<div style="display: flex; justify-content: center;">
|
| 239 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/noGG-lQwn2U"
|
| 240 |
+
title="YouTube video player" frameborder="0"
|
| 241 |
+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
| 242 |
+
allowfullscreen>
|
| 243 |
+
</iframe>
|
| 244 |
+
</div>
|
| 245 |
+
""")
|
| 246 |
gr.Markdown(readme_content)
|
| 247 |
|
| 248 |
with gr.TabItem("Top Events"):
|
gradio_readme.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
| 2 |
|
| 3 |
Welcome to the Medication Adverse-Event Explorer, an interactive tool for exploring data from the FDA Adverse Event Reporting System (FAERS).
|
| 4 |
|
| 5 |
-
<iframe width="560" height="315" src="https://www.youtube.com/embed/noGG-lQwn2U" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
| 6 |
-
|
| 7 |
***
|
| 8 |
|
| 9 |
### About This Tool
|
|
|
|
| 2 |
|
| 3 |
Welcome to the Medication Adverse-Event Explorer, an interactive tool for exploring data from the FDA Adverse Event Reporting System (FAERS).
|
| 4 |
|
|
|
|
|
|
|
| 5 |
***
|
| 6 |
|
| 7 |
### About This Tool
|