BrightPsych / pages /Graphs.py
Yash345's picture
Update pages/Graphs.py
5906eac verified
raw
history blame contribute delete
555 Bytes
import streamlit as st
custom_styles = """
<style>
.main {
font-family: 'Arial', sans-serif;
color: #333;
line-height: 1.6;
background: #ffffff;
}
</style>
"""
# Render custom styles
st.markdown(custom_styles, unsafe_allow_html=True)
# Load your existing HTML file
with open("output.html", "r", encoding="utf-8") as file:
html_content = file.read()
# st.markdown(html_content, unsafe_allow_html=True)
# Display the HTML content
st.components.v1.html(html_content, height=800,width=800, scrolling=True)