Spaces:
Running
on
Zero
Running
on
Zero
adding examples
#2
by
ysharma
HF Staff
- opened
- .gitattributes +5 -0
- app.py +4 -1
- hair.jpg +3 -0
- maizi.jpg +3 -0
- videoframe_10273.png +3 -0
- videoframe_2168.png +3 -0
- videoframe_3289.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
hair.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
maizi.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
videoframe_10273.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
videoframe_2168.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
videoframe_3289.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -116,7 +116,10 @@ iface = gr.Interface(
|
|
| 116 |
inputs=gr.Image(type="pil"), # Only image input, no mode selection
|
| 117 |
outputs=gr.Image(type="pil"), # Only depth image output, no debug info
|
| 118 |
title="Depth Estimation Demo",
|
| 119 |
-
description="Upload an image to see the depth estimation results. Our model is running on GPU for faster processing."
|
|
|
|
|
|
|
|
|
|
| 120 |
)
|
| 121 |
|
| 122 |
# Launch the Gradio interface
|
|
|
|
| 116 |
inputs=gr.Image(type="pil"), # Only image input, no mode selection
|
| 117 |
outputs=gr.Image(type="pil"), # Only depth image output, no debug info
|
| 118 |
title="Depth Estimation Demo",
|
| 119 |
+
description="Upload an image to see the depth estimation results. Our model is running on GPU for faster processing.",
|
| 120 |
+
examples=["maizi.jpg", "hair.jpg", "videoframe_10273.png", "videoframe_2168.png", "videoframe_3289.png"],
|
| 121 |
+
cache_examples=True,
|
| 122 |
+
cache_mode=True,
|
| 123 |
)
|
| 124 |
|
| 125 |
# Launch the Gradio interface
|
hair.jpg
ADDED
|
Git LFS Details
|
maizi.jpg
ADDED
|
Git LFS Details
|
videoframe_10273.png
ADDED
|
Git LFS Details
|
videoframe_2168.png
ADDED
|
Git LFS Details
|
videoframe_3289.png
ADDED
|
Git LFS Details
|