princeml commited on
Commit
a8d0c89
1 Parent(s): 45110f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -89,24 +89,20 @@ def generate_prediction(input_image):
89
 
90
  def main():
91
  # Face Analysis Application #
92
- st.title("Real Time Face Emotion Detection Application")
93
  activiteis = ["Home", "Webcam Face Detection", "By Images","About"]
94
  choice = st.sidebar.selectbox("Select Activity", activiteis)
95
 
96
  if choice == "Home":
97
  html_temp_home1 = """<div style="background-color:#6D7B8D;padding:10px">
98
- <h3 style="color:Green;text-align:center;"> Welcome to world of AI with Prince </h3>
99
  <h4 style="color:white;text-align:center;">
100
  Face Emotion detection application using OpenCV, Custom CNN model and Streamlit.</h4>
101
  </div>
102
  </br>"""
103
  st.markdown(html_temp_home1, unsafe_allow_html=True)
104
  st.write("""
105
- The application has two functionalities.
106
-
107
- 1. Real time face detection using web cam feed.
108
-
109
- 2. Real time face emotion recognization.
110
 
111
  """)
112
  elif choice == "Webcam Face Detection":
 
89
 
90
  def main():
91
  # Face Analysis Application #
92
+ st.title(" Face Emotion Detection Application")
93
  activiteis = ["Home", "Webcam Face Detection", "By Images","About"]
94
  choice = st.sidebar.selectbox("Select Activity", activiteis)
95
 
96
  if choice == "Home":
97
  html_temp_home1 = """<div style="background-color:#6D7B8D;padding:10px">
98
+ <h3 style="color:yellow;text-align:center;"> Welcome to world of AI with Prince </h3>
99
  <h4 style="color:white;text-align:center;">
100
  Face Emotion detection application using OpenCV, Custom CNN model and Streamlit.</h4>
101
  </div>
102
  </br>"""
103
  st.markdown(html_temp_home1, unsafe_allow_html=True)
104
  st.write("""
105
+ Real time face emotion recognization just by one click.
 
 
 
 
106
 
107
  """)
108
  elif choice == "Webcam Face Detection":