Spaces:
Sleeping
Sleeping
Commit
·
91472ad
1
Parent(s):
20ebf92
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,11 @@ def predict(input_image):
|
|
42 |
iface = gr.Interface(
|
43 |
fn=predict,
|
44 |
inputs=gr.inputs.Image(shape=(218, 178)),
|
45 |
-
outputs="text"
|
|
|
|
|
|
|
|
|
46 |
)
|
47 |
|
48 |
iface.launch()
|
|
|
42 |
iface = gr.Interface(
|
43 |
fn=predict,
|
44 |
inputs=gr.inputs.Image(shape=(218, 178)),
|
45 |
+
outputs="text",
|
46 |
+
title = 'Image Recognition - Gender Detection with InceptionV3',
|
47 |
+
description="""This model was trained to predict the gender of a person from a photo. It's based on a model trained in this
|
48 |
+
<a href='https://www.kaggle.com/code/lusfernandotorres/gender-recognition-inceptionv3'>Kaggle notebook</a>. <br>
|
49 |
+
Upload a photo to see the model's prediction!"""
|
50 |
)
|
51 |
|
52 |
iface.launch()
|