mjolnir1122 commited on
Commit
67f5960
·
verified ·
1 Parent(s): 60ad620

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -577,9 +577,9 @@ def show_app_interface():
577
 
578
  def show_landing_page():
579
  """Function to display the landing page"""
580
- st.markdown("""
581
- <iframe src="ecolytics-landing-page.html" width="100%" height="1000px"></iframe>
582
- """, unsafe_allow_html=True)
583
 
584
  # Step 3: Set Up Navigation
585
 
 
577
 
578
  def show_landing_page():
579
  """Function to display the landing page"""
580
+ with open("ecolytics-landing-page.html", "r", encoding="utf-8") as f:
581
+ html_content = f.read()
582
+ st.components.v1.html(html_content, height=1000, scrolling=True)
583
 
584
  # Step 3: Set Up Navigation
585