debugging
Browse files
app.py
CHANGED
@@ -1,17 +1,29 @@
|
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import spaces
|
3 |
-
|
4 |
import os
|
5 |
os.environ['SPCONV_ALGO'] = 'native'
|
|
|
6 |
from typing import *
|
|
|
7 |
import torch
|
|
|
8 |
import numpy as np
|
|
|
9 |
import imageio
|
|
|
10 |
import uuid
|
|
|
11 |
from easydict import EasyDict as edict
|
|
|
12 |
from PIL import Image
|
|
|
13 |
from trellis.pipelines import TrellisImageTo3DPipeline
|
|
|
14 |
from trellis.representations import Gaussian, MeshExtractResult
|
|
|
15 |
from trellis.utils import render_utils, postprocessing_utils
|
16 |
|
17 |
|
|
|
1 |
+
print("importing gradio")
|
2 |
import gradio as gr
|
3 |
+
print("importing spaces")
|
4 |
import spaces
|
5 |
+
print("importing os")
|
6 |
import os
|
7 |
os.environ['SPCONV_ALGO'] = 'native'
|
8 |
+
print("importing typing")
|
9 |
from typing import *
|
10 |
+
print("importing torch")
|
11 |
import torch
|
12 |
+
print("importing numpy")
|
13 |
import numpy as np
|
14 |
+
print("importing imageio")
|
15 |
import imageio
|
16 |
+
print("importing uuid")
|
17 |
import uuid
|
18 |
+
print("importing easydict")
|
19 |
from easydict import EasyDict as edict
|
20 |
+
print("importing PIL")
|
21 |
from PIL import Image
|
22 |
+
print("importing trellis image to 3d pipeline")
|
23 |
from trellis.pipelines import TrellisImageTo3DPipeline
|
24 |
+
print("importing trellis representations")
|
25 |
from trellis.representations import Gaussian, MeshExtractResult
|
26 |
+
print("importing trellis utils")
|
27 |
from trellis.utils import render_utils, postprocessing_utils
|
28 |
|
29 |
|