Spaces:
Running
on
Zero
Running
on
Zero
Update gradio_app.py
Browse files- gradio_app.py +3 -3
gradio_app.py
CHANGED
@@ -118,7 +118,7 @@ def build_model_viewer_html(save_folder, height=660, width=790, textured=False):
|
|
118 |
</div>
|
119 |
"""
|
120 |
|
121 |
-
@spaces.GPU(duration=
|
122 |
def _gen_shape(
|
123 |
caption=None,
|
124 |
image=None,
|
@@ -225,7 +225,7 @@ def _gen_shape(
|
|
225 |
main_image = image if not MV_MODE else image['front']
|
226 |
return mesh, main_image, save_folder, stats, seed
|
227 |
|
228 |
-
@spaces.GPU(duration=
|
229 |
def generation_all(
|
230 |
caption=None,
|
231 |
image=None,
|
@@ -289,7 +289,7 @@ def generation_all(
|
|
289 |
seed,
|
290 |
)
|
291 |
|
292 |
-
@spaces.GPU(duration=
|
293 |
def shape_generation(
|
294 |
caption=None,
|
295 |
image=None,
|
|
|
118 |
</div>
|
119 |
"""
|
120 |
|
121 |
+
@spaces.GPU(duration=40)
|
122 |
def _gen_shape(
|
123 |
caption=None,
|
124 |
image=None,
|
|
|
225 |
main_image = image if not MV_MODE else image['front']
|
226 |
return mesh, main_image, save_folder, stats, seed
|
227 |
|
228 |
+
@spaces.GPU(duration=70)
|
229 |
def generation_all(
|
230 |
caption=None,
|
231 |
image=None,
|
|
|
289 |
seed,
|
290 |
)
|
291 |
|
292 |
+
@spaces.GPU(duration=40)
|
293 |
def shape_generation(
|
294 |
caption=None,
|
295 |
image=None,
|