LTT commited on
Commit
621b8ec
·
verified ·
1 Parent(s): f6f5559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -279,6 +279,7 @@ def reconstruct_3d_model(images, prompt):
279
  return save_glb_addr
280
 
281
  # Gradio 接口函数
 
282
  def gradio_pipeline(prompt, seed):
283
  global model
284
  model.init_flexicubes_geometry(device, fovy=50.0)
 
279
  return save_glb_addr
280
 
281
  # Gradio 接口函数
282
+ @spaces.GPU
283
  def gradio_pipeline(prompt, seed):
284
  global model
285
  model.init_flexicubes_geometry(device, fovy=50.0)