Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| from PIL import Image | |
| def run(): | |
| # Add Picture | |
| image = Image.open('cc.jpeg') | |
| st.image(image, caption=None, width=700) | |
| # Title | |
| st.title('ABOUT THIS PROJECT') | |
| st.markdown('---') | |
| st.write('###### This project aims to create a model with Random Forest Classifier and GradientBoost Classifier algorithms to predict whether a patient will die or not due to heart failure.') | |
| st.markdown('---') | |
| st.write('Feel free to contact me on:') | |
| st.write('[GITHUB](https://github.com/theonugraha)') | |
| st.write('or') | |
| st.write('[LINKEDIN](https://www.linkedin.com/in/nugrahatheo/)') | |
| if __name__ == '__main__': | |
| run() |