Spaces:
Running
on
Zero
Running
on
Zero
- gradio_app.py +2 -0
gradio_app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import argparse
|
2 |
import os
|
3 |
import json
|
@@ -67,6 +68,7 @@ If you have any questions, feel free to open a discussion or contact us at <b>we
|
|
67 |
model = None
|
68 |
cached_dir = None
|
69 |
|
|
|
70 |
def image2mesh(view_front: np.ndarray,
|
71 |
view_right: np.ndarray,
|
72 |
view_back: np.ndarray,
|
|
|
1 |
+
import spaces
|
2 |
import argparse
|
3 |
import os
|
4 |
import json
|
|
|
68 |
model = None
|
69 |
cached_dir = None
|
70 |
|
71 |
+
@spaces.GPU
|
72 |
def image2mesh(view_front: np.ndarray,
|
73 |
view_right: np.ndarray,
|
74 |
view_back: np.ndarray,
|