David-Chew-HL commited on
Commit
a3e99fa
1 Parent(s): 19c224c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ inputs = [
21
  gr.Slider(minimum=5, maximum=200, label="Blur Amount", step=1)
22
  ]
23
 
24
- output = gr.outputs.Image(type="pil", label="Blurred Image")
25
 
26
  gr.Interface(fn=blur_img, inputs=inputs, outputs=output, title="Depth Anything model based Image Blurring",
27
  description="Upload an image and adjust the blur amount using the slider. \nThis project takes in an image, obtains a depth mask using the Depth Anything model by https://huggingface.co/LiheYoung/depth-anything-base-hf, and blurs image using the mask.").launch()
 
21
  gr.Slider(minimum=5, maximum=200, label="Blur Amount", step=1)
22
  ]
23
 
24
+ output = gr.Image(type="pil", label="Blurred Image")
25
 
26
  gr.Interface(fn=blur_img, inputs=inputs, outputs=output, title="Depth Anything model based Image Blurring",
27
  description="Upload an image and adjust the blur amount using the slider. \nThis project takes in an image, obtains a depth mask using the Depth Anything model by https://huggingface.co/LiheYoung/depth-anything-base-hf, and blurs image using the mask.").launch()