Spaces:
Runtime error
Runtime error
Commit
·
d558337
1
Parent(s):
7ff115a
Update classifier.py
Browse files- classifier.py +3 -3
classifier.py
CHANGED
@@ -33,10 +33,10 @@ def predict_and_display(uploaded_file, model, class_labels):
|
|
33 |
|
34 |
|
35 |
def run():
|
36 |
-
st.write('##### Facial Emotions/Expressions
|
37 |
# Making Form
|
38 |
# Create a Streamlit form
|
39 |
-
with st.form(key='Facial Emotions/Expressions
|
40 |
# Add a file uploader to the form
|
41 |
uploaded_files = st.file_uploader("Upload a file of one of these format .JPEG/.JPG/.PNG file", accept_multiple_files=True)
|
42 |
|
@@ -45,7 +45,7 @@ def run():
|
|
45 |
for uploaded_file in uploaded_files:
|
46 |
st.write("filename:", uploaded_file.name)
|
47 |
# Close the form
|
48 |
-
submitted = st.form_submit_button('
|
49 |
|
50 |
if submitted:
|
51 |
for uploaded_file in uploaded_files:
|
|
|
33 |
|
34 |
|
35 |
def run():
|
36 |
+
st.write('##### Facial Emotions/Expressions Recognition')
|
37 |
# Making Form
|
38 |
# Create a Streamlit form
|
39 |
+
with st.form(key='Facial Emotions/Expressions Recognition'):
|
40 |
# Add a file uploader to the form
|
41 |
uploaded_files = st.file_uploader("Upload a file of one of these format .JPEG/.JPG/.PNG file", accept_multiple_files=True)
|
42 |
|
|
|
45 |
for uploaded_file in uploaded_files:
|
46 |
st.write("filename:", uploaded_file.name)
|
47 |
# Close the form
|
48 |
+
submitted = st.form_submit_button('Recognize')
|
49 |
|
50 |
if submitted:
|
51 |
for uploaded_file in uploaded_files:
|