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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -280,6 +280,7 @@ def reconstruct_3d_model(images, prompt):
280
 
281
  # Gradio 接口函数
282
  def gradio_pipeline(prompt, seed):
 
283
  model.init_flexicubes_geometry(device, fovy=50.0)
284
  model = model.eval()
285
  # 生成多视图图像
 
280
 
281
  # Gradio 接口函数
282
  def gradio_pipeline(prompt, seed):
283
+ global model
284
  model.init_flexicubes_geometry(device, fovy=50.0)
285
  model = model.eval()
286
  # 生成多视图图像