Spaces:
Sleeping
Sleeping
a-guy-from-burma
commited on
Commit
•
91ac8e2
1
Parent(s):
b4d65fa
Update app.py
Browse files
app.py
CHANGED
@@ -23,5 +23,5 @@ def predict_gender(img_data):
|
|
23 |
return "Male" if prediction[0] > 0.5 else "Female"
|
24 |
|
25 |
# Create the Gradio interface
|
26 |
-
iface = gr.Interface(fn=predict_gender, inputs=gr.Image(
|
27 |
iface.launch()
|
|
|
23 |
return "Male" if prediction[0] > 0.5 else "Female"
|
24 |
|
25 |
# Create the Gradio interface
|
26 |
+
iface = gr.Interface(fn=predict_gender, inputs=gr.Image(), outputs="text")
|
27 |
iface.launch()
|