Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| from PIL import Image | |
| def run(): | |
| # Add Picture | |
| image = Image.open('facial_expressions.jpg') | |
| st.image(image, caption='Facial Emotions/Expressions Detection') | |
| # Title | |
| st.title('About This Project') | |
| st.markdown('---') | |
| st.write('###### The Facial Emotions/Expressions Detection tool is a tool to predict/detect the facial expressions/emotions of an image uploaded of a person, backed by a machine learning model, using Keras Framework/API. It classify the expressions into eight categories of facial emotions: Contempt, happy, sad, disgust, anger, neutral, feat and surprised.') | |
| st.markdown('---') | |
| if __name__ == '__main__': | |
| run() |