Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def main():
|
|
| 31 |
Real time face emotion recognization just by one click.
|
| 32 |
|
| 33 |
""")
|
| 34 |
-
|
| 35 |
age = st.number_input("Enter your age")
|
| 36 |
income = st.number_input("Monthly Income: ")
|
| 37 |
family_size = st.number_input("Family Size:")
|
|
@@ -102,8 +102,8 @@ def main():
|
|
| 102 |
|
| 103 |
# st.markdown(html_temp4, unsafe_allow_html=True)
|
| 104 |
|
| 105 |
-
else:
|
| 106 |
-
|
| 107 |
|
| 108 |
|
| 109 |
if __name__ == "__main__":
|
|
|
|
| 31 |
Real time face emotion recognization just by one click.
|
| 32 |
|
| 33 |
""")
|
| 34 |
+
if choice == "Webcam Face Detection":
|
| 35 |
age = st.number_input("Enter your age")
|
| 36 |
income = st.number_input("Monthly Income: ")
|
| 37 |
family_size = st.number_input("Family Size:")
|
|
|
|
| 102 |
|
| 103 |
# st.markdown(html_temp4, unsafe_allow_html=True)
|
| 104 |
|
| 105 |
+
# else:
|
| 106 |
+
# pass
|
| 107 |
|
| 108 |
|
| 109 |
if __name__ == "__main__":
|