Update app.py
Browse files
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 |
# 生成多视图图像
|