Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,9 +21,9 @@ def get_result(img_path):
|
|
| 21 |
prediction = model.predict(img_input)
|
| 22 |
|
| 23 |
if prediction[0][0] < 0.5:
|
| 24 |
-
return "He is a
|
| 25 |
else:
|
| 26 |
-
return "She is a
|
| 27 |
|
| 28 |
|
| 29 |
st.title("Let\'s detect the gender 🚹🚺")
|
|
|
|
| 21 |
prediction = model.predict(img_input)
|
| 22 |
|
| 23 |
if prediction[0][0] < 0.5:
|
| 24 |
+
return "He is a Man 🚹"
|
| 25 |
else:
|
| 26 |
+
return "She is a Woman 🚺"
|
| 27 |
|
| 28 |
|
| 29 |
st.title("Let\'s detect the gender 🚹🚺")
|