Kadi-IAM commited on
Commit
5ed5a48
·
1 Parent(s): 05303f4

Update static html display

Browse files
Files changed (1) hide show
  1. app.py +13 -1
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("""<iframe src="{}" style="width:100%; height:1024px; overflow:auto"></iframe>""".format(kg_tmp_link))
 
 
 
 
 
 
 
 
 
 
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 📝"):