Ivy132 commited on
Commit
19adaee
·
verified ·
1 Parent(s): 60526ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -11,6 +11,7 @@
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
  # See the License for the specific language governing permissions and
13
  # limitations under the License.
 
14
  import gradio as gr
15
 
16
 
@@ -53,6 +54,7 @@ description = """Official demo for **Video Depth Anything**.
53
  Please refer to our [project page](https://videodepthanything.github.io/), and [github](https://github.com/DepthAnything/Video-Depth-Anything) for more details."""
54
 
55
 
 
56
  def infer_video_depth(
57
  input_video: str,
58
  max_len: int = -1,
 
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
  # See the License for the specific language governing permissions and
13
  # limitations under the License.
14
+ import spaces
15
  import gradio as gr
16
 
17
 
 
54
  Please refer to our [project page](https://videodepthanything.github.io/), and [github](https://github.com/DepthAnything/Video-Depth-Anything) for more details."""
55
 
56
 
57
+ @spaces.GPU
58
  def infer_video_depth(
59
  input_video: str,
60
  max_len: int = -1,