Spaces:
Runtime error
Runtime error
David-Chew-HL
commited on
Commit
•
0357d68
1
Parent(s):
896a16c
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ inputs = [
|
|
25 |
output = gr.Image(type="pil", label="Blurred Image")
|
26 |
|
27 |
app= gr.Interface(fn=blur_img, inputs=inputs, outputs=output, title="Depth Anything model based Image Blurring",
|
28 |
-
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 based on the depth mask.",
|
|
|
29 |
|
30 |
app.launch(share=True)
|
|
|
25 |
output = gr.Image(type="pil", label="Blurred Image")
|
26 |
|
27 |
app= gr.Interface(fn=blur_img, inputs=inputs, outputs=output, title="Depth Anything model based Image Blurring",
|
28 |
+
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 based on the depth mask.",
|
29 |
+
gr.Image(file="/Blur-Anything/depth.gif"))
|
30 |
|
31 |
app.launch(share=True)
|