Spaces:
Sleeping
Sleeping
Fix: delay spaces import until after GPU functions are defined
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -326,7 +326,7 @@ def _gen_shape(
|
|
| 326 |
main_image = image if not MV_MODE else image['front']
|
| 327 |
return mesh, main_image, save_folder, stats, seed
|
| 328 |
|
| 329 |
-
@spaces.GPU(duration=
|
| 330 |
def generation_all(
|
| 331 |
caption=None,
|
| 332 |
image=None,
|
|
|
|
| 326 |
main_image = image if not MV_MODE else image['front']
|
| 327 |
return mesh, main_image, save_folder, stats, seed
|
| 328 |
|
| 329 |
+
@spaces.GPU(duration=130)
|
| 330 |
def generation_all(
|
| 331 |
caption=None,
|
| 332 |
image=None,
|