chateauxai commited on
Commit
7f3d4c0
·
verified ·
1 Parent(s): b0325d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -12,6 +12,9 @@ from trellis.pipelines import TrellisImageTo3DPipeline
12
  from trellis.representations import Gaussian, MeshExtractResult
13
  from trellis.utils import render_utils, postprocessing_utils
14
 
 
 
 
15
  # Constants
16
  MAX_SEED = np.iinfo(np.int32).max
17
  TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
 
12
  from trellis.representations import Gaussian, MeshExtractResult
13
  from trellis.utils import render_utils, postprocessing_utils
14
 
15
+ # Add this before your preprocessing functions
16
+ pipeline = TrellisImageTo3DPipeline()
17
+
18
  # Constants
19
  MAX_SEED = np.iinfo(np.int32).max
20
  TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')