Anushree1 commited on
Commit
2d6e948
·
verified ·
1 Parent(s): b593147

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def gradio_interface(image):
58
  # Define Gradio app
59
  iface = gr.Interface(
60
  fn=gradio_interface,
61
- inputs=gr.Image(type="pil", tool="editor"),
62
  outputs=gr.Image(type="numpy"),
63
  title="Face and Hand Landmarks Detection",
64
  description="Upload an image or take a photo to detect face and hand landmarks using Mediapipe and OpenCV."
 
58
  # Define Gradio app
59
  iface = gr.Interface(
60
  fn=gradio_interface,
61
+ inputs=gr.Image(type="pil"),
62
  outputs=gr.Image(type="numpy"),
63
  title="Face and Hand Landmarks Detection",
64
  description="Upload an image or take a photo to detect face and hand landmarks using Mediapipe and OpenCV."