Update app.py
Browse files
app.py
CHANGED
@@ -26,5 +26,5 @@ def predict_age_gender(image):
|
|
26 |
return {'Gender': ['Fmale' if gender_predict > 0.5 else 'Male'], 'Age': age_predict[0][0]}
|
27 |
|
28 |
|
29 |
-
iface = gr.Interface(predict_age_gender, gr.Image(), gr.Text())
|
30 |
iface.launch()
|
|
|
26 |
return {'Gender': ['Fmale' if gender_predict > 0.5 else 'Male'], 'Age': age_predict[0][0]}
|
27 |
|
28 |
|
29 |
+
iface = gr.Interface(predict_age_gender, gr.Image((128, 128)), gr.Text())
|
30 |
iface.launch()
|