panjiputra-r/ComputerVisionPrediction
0
1# import library2import streamlit as st3import pandas as pd4import numpy as np 5from PIL import Image6 7def run():8 # Set Title9 st.title('BRAIN MRI VISUALIZATION')10 11 # memasukkan gambar12 st.image ('https://cdn.systematic.com/media/g0sj1tbg/hospital-building-001-global.jpg?mode=crop&width=1200&height=630¢er=')13 14 # menampilkan EDA15 st.markdown('## Exploratory Data Analysis (EDA)')16 st.markdown ('---')17 18 19 # EDA 120 st.markdown("<h3 style='text-align: center;'>Gambar MRI</h3>", unsafe_allow_html=True)21 22 image = Image.open('EDA3.png')23 st.image(image)24 25 st.write('---')26 27 28 # EDA 229 st.markdown("<h3 style='text-align: center;'>Distribusi Data Train</h3>", unsafe_allow_html=True)30 31 image = Image.open('EDA1.png')32 st.image(image)33 34 st.write('---')35 36 # EDA 337 st.markdown("<h3 style='text-align: center;'>Distribusi Data Val</h3>", unsafe_allow_html=True)38 39 image = Image.open('EDA2.png')40 st.image(image)41 42 st.write('---')43 44if __name__ == "__main__":45 run()46 