JianyuanWang commited on
Commit
a93af6f
·
1 Parent(s): dbedd0f

update app

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,8 +1,10 @@
 
1
  import os
2
  import cv2
3
  import torch
4
  import numpy as np
5
  import gradio as gr
 
6
 
7
  import trimesh
8
  import sys
@@ -22,9 +24,10 @@ from scipy.spatial.transform import Rotation
22
  import gc
23
  import open3d as o3d
24
  import time
25
- import spaces
26
 
27
- @spaces.GPU
 
 
28
  def vggsfm_demo(
29
  input_video,
30
  input_image,
 
1
+
2
  import os
3
  import cv2
4
  import torch
5
  import numpy as np
6
  import gradio as gr
7
+ import spaces
8
 
9
  import trimesh
10
  import sys
 
24
  import gc
25
  import open3d as o3d
26
  import time
 
27
 
28
+
29
+
30
+ @spaces.GPU(duration=180)
31
  def vggsfm_demo(
32
  input_video,
33
  input_image,