Update static html display
Browse files
app.py
CHANGED
@@ -630,10 +630,22 @@ def main():
|
|
630 |
kadichat_tmp_link
|
631 |
)
|
632 |
)
|
|
|
633 |
with gr.Tab("RAG enhanced with Knowledge Graph (dev) 🔎"):
|
634 |
kg_tmp_link = "https://kadi-iam-kadikgraph.static.hf.space"
|
|
|
635 |
with gr.Blocks(css="""footer {visibility: hidden};""") as preview_tab:
|
636 |
-
gr.HTML(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
|
638 |
# About information
|
639 |
with gr.Tab("About 📝"):
|
|
|
630 |
kadichat_tmp_link
|
631 |
)
|
632 |
)
|
633 |
+
|
634 |
with gr.Tab("RAG enhanced with Knowledge Graph (dev) 🔎"):
|
635 |
kg_tmp_link = "https://kadi-iam-kadikgraph.static.hf.space"
|
636 |
+
gr.Markdown("[If rendering fails, look at the graph here]https://kadi-iam-kadikgraph.static.hf.space")
|
637 |
with gr.Blocks(css="""footer {visibility: hidden};""") as preview_tab:
|
638 |
+
gr.HTML(
|
639 |
+
"""<iframe
|
640 |
+
src="{}"
|
641 |
+
frameborder="0"
|
642 |
+
width="850"
|
643 |
+
height="450"
|
644 |
+
></iframe>
|
645 |
+
""".format(
|
646 |
+
kg_tmp_link
|
647 |
+
)
|
648 |
+
)
|
649 |
|
650 |
# About information
|
651 |
with gr.Tab("About 📝"):
|