Niraj70194 commited on
Commit
673f0b3
·
verified ·
1 Parent(s): 29f1d35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,8 +81,8 @@ def apply_lens_blur(image):
81
  # Define the Gradio interface
82
  interface = gr.Interface(
83
  fn={"Gaussian Blur": apply_gaussian_blur, "Lens Blur": apply_lens_blur},
84
- inputs=gr.inputs.Image(type="pil"),
85
- outputs=gr.outputs.Image(type="pil"),
86
  title="Blur Effects with Hugging Face",
87
  description="Apply Gaussian Blur or Lens Blur to images using semantic segmentation or depth estimation."
88
  )
 
81
  # Define the Gradio interface
82
  interface = gr.Interface(
83
  fn={"Gaussian Blur": apply_gaussian_blur, "Lens Blur": apply_lens_blur},
84
+ inputs=gr.Image(type="pil"),
85
+ outputs=gr.Image(type="pil"),
86
  title="Blur Effects with Hugging Face",
87
  description="Apply Gaussian Blur or Lens Blur to images using semantic segmentation or depth estimation."
88
  )