Update app.py
Browse files
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)
|