David-Chew-HL commited on
Commit
1946fad
1 Parent(s): dab4ca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -23,5 +23,7 @@ inputs = [
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(share=True)
 
 
 
23
 
24
  output = gr.Image(type="pil", label="Blurred Image")
25
 
26
+ app= 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.")
28
+
29
+ app.launch(share=True)