wyysf commited on
Commit
a480bdb
1 Parent(s): aa9b0f4
Files changed (1) hide show
  1. gradio_app.py +2 -1
gradio_app.py CHANGED
@@ -133,7 +133,7 @@ class RMBG(object):
133
  image.save(filepath)
134
  return filepath
135
 
136
- # @spaces.GPU
137
  def image2mesh(image: Any,
138
  more: bool = False,
139
  scheluder_name: str ="DDIMScheduler",
@@ -183,6 +183,7 @@ def image2mesh(image: Any,
183
 
184
  return filepath
185
 
 
186
  def mesh2texture(mesh_file, image_file):
187
  headers = {'Content-Type': 'application/json'}
188
  server_url = "114.249.238.184:34119"
 
133
  image.save(filepath)
134
  return filepath
135
 
136
+ @spaces.GPU
137
  def image2mesh(image: Any,
138
  more: bool = False,
139
  scheluder_name: str ="DDIMScheduler",
 
183
 
184
  return filepath
185
 
186
+ @spaces.GPU
187
  def mesh2texture(mesh_file, image_file):
188
  headers = {'Content-Type': 'application/json'}
189
  server_url = "114.249.238.184:34119"