a-guy-from-burma commited on
Commit
91ac8e2
1 Parent(s): b4d65fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(type="pil", tool="editor"), outputs="text")
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()