from PIL import Image
import PIL.Image as Image
from streamlit_echarts import st_echarts
from st_on_hover_tabs import on_hover_tabs
import streamlit as st
st.set_page_config(layout="wide")
import os
import pandas as pd
from PIL import Image
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import streamlit as st
import cv2
st.markdown('''
''', unsafe_allow_html=True)
# Define CSS styling for centering
centered_style = """
display: flex;
justify-content: center;
"""
st.markdown(
"""
❤️🩹 Diagnose and Identify Symptoms of Parkinson's Disease AI 🪫
""", unsafe_allow_html=True)
with open("./assets/css/style.css") as f:
st.markdown(f"",unsafe_allow_html=True)
with open("./assets/webfonts/font.txt") as f:
st.markdown(f.read(),unsafe_allow_html=True)
# end def
with st.sidebar:
tabs = on_hover_tabs(tabName=['Home','Drawing','Action','History',],
iconName=['🏠','📝','🚶♂️','📃'],
styles={'navtab': {'background-color': '#111', 'color': '#818181', 'font-size': '18px',
'transition': '.3s', 'white-space': 'nowrap', 'text-transform': 'uppercase'},
'tabOptionsStyle':
{':hover :hover': {'color': 'red', 'cursor': 'pointer'}}, 'iconStyle':
{'position': 'fixed', 'left': '7.5px', 'text-align': 'left'}, 'tabStyle':
{'list-style-type': 'none', 'margin-bottom': '30px', 'padding-left': '30px'}},
key="1",default_choice=0)
st.markdown(
"""
แนวคิดนวัตกรรมและสิ่งประดิษฐ์
ราชวิทยาลัยจุฬาภรณ์
🌎 KMUTT 💻
""", unsafe_allow_html=True)
if tabs == 'Home':
st.image('./home/home.png',use_column_width=True)