Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def wireframe_render(mesh):
|
|
| 98 |
plt.close(fig)
|
| 99 |
return save_path
|
| 100 |
|
| 101 |
-
@spaces.GPU(duration=
|
| 102 |
def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=False):
|
| 103 |
set_seed(sample_seed)
|
| 104 |
print("Seed value:", sample_seed)
|
|
@@ -193,7 +193,7 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
|
|
| 193 |
|
| 194 |
|
| 195 |
_HEADER_ = """
|
| 196 |
-
## Transform your high poly mesh into a low poly mesh
|
| 197 |
|
| 198 |
➡️ You can optimize your high poly mesh, here, to the drawback is that you'll need to create a new material on Roblox.
|
| 199 |
|
|
|
|
| 98 |
plt.close(fig)
|
| 99 |
return save_path
|
| 100 |
|
| 101 |
+
@spaces.GPU(duration=600)
|
| 102 |
def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=False):
|
| 103 |
set_seed(sample_seed)
|
| 104 |
print("Seed value:", sample_seed)
|
|
|
|
| 193 |
|
| 194 |
|
| 195 |
_HEADER_ = """
|
| 196 |
+
## (Optional) Transform your high poly mesh into a low poly mesh
|
| 197 |
|
| 198 |
➡️ You can optimize your high poly mesh, here, to the drawback is that you'll need to create a new material on Roblox.
|
| 199 |
|