Spaces:
Sleeping
Sleeping
Niraj70194
commited on
Update app.py
Browse files
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.
|
85 |
-
outputs=gr.
|
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 |
)
|