JiantaoLin commited on
Commit
4539b3a
·
1 Parent(s): f8e31b4
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -107,8 +107,12 @@ LOGO_PATH = "app_assets/logo_temp_.png" # Update this to the actual path of you
107
  ARXIV_LINK = "https://arxiv.org/abs/example"
108
  GITHUB_LINK = "https://github.com/example"
109
 
110
- k3d_wrapper = init_wrapper_from_config('./pipeline/pipeline_config/default.yaml')
111
-
 
 
 
 
112
 
113
  TEMP_MESH_ADDRESS=''
114
 
 
107
  ARXIV_LINK = "https://arxiv.org/abs/example"
108
  GITHUB_LINK = "https://github.com/example"
109
 
110
+ k3d_wrapper = None
111
+ @spaces.GPU
112
+ def init_warpper():
113
+ global k3d_wrapper
114
+ k3d_wrapper = init_wrapper_from_config('./pipeline/pipeline_config/default.yaml')
115
+ init_warpper()
116
 
117
  TEMP_MESH_ADDRESS=''
118