File size: 555 Bytes
f2f00d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5906eac
f2f00d5
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)