analytics-jiten commited on
Commit
bdcb10c
1 Parent(s): 8bc1ac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,12 +5,12 @@ import home
5
  import contact
6
 
7
 
8
- st.write('Facial Emotions/Expressions Detection Tool (using image upload)')
9
  st.write('##### This page created by [Jeetendra Pagwani](https://huggingface.co/analytics-jiten)')
10
  st.markdown('---')
11
 
12
 
13
- selected = option_menu(None, ["Home", "Emotions Detection","Contact"],
14
  icons=['house', 'cloud-upload', 'envelope-at-fill'],
15
  menu_icon="cast", default_index=0, orientation="horizontal",
16
  styles={
@@ -23,7 +23,7 @@ selected = option_menu(None, ["Home", "Emotions Detection","Contact"],
23
 
24
  selected
25
 
26
- if selected == 'Emotions Detection':
27
  classifier.run()
28
 
29
  elif selected == 'Home':
 
5
  import contact
6
 
7
 
8
+ st.write('Facial Emotions/Expressions Recognition Tool (using image upload)')
9
  st.write('##### This page created by [Jeetendra Pagwani](https://huggingface.co/analytics-jiten)')
10
  st.markdown('---')
11
 
12
 
13
+ selected = option_menu(None, ["Home", "Emotions Recognition","Contact"],
14
  icons=['house', 'cloud-upload', 'envelope-at-fill'],
15
  menu_icon="cast", default_index=0, orientation="horizontal",
16
  styles={
 
23
 
24
  selected
25
 
26
+ if selected == 'Emotions Recognition':
27
  classifier.run()
28
 
29
  elif selected == 'Home':