JeffreyXiang commited on
Commit
d7b1815
1 Parent(s): a898014
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,6 +19,8 @@ from trellis.utils import render_utils, postprocessing_utils
19
  MAX_SEED = np.iinfo(np.int32).max
20
  TMP_DIR = "/tmp/Trellis-demo"
21
 
 
 
22
 
23
  def preprocess_image(image: Image.Image) -> Tuple[str, Image.Image]:
24
  """
 
19
  MAX_SEED = np.iinfo(np.int32).max
20
  TMP_DIR = "/tmp/Trellis-demo"
21
 
22
+ os.makedirs(TMP_DIR, exist_ok=True)
23
+
24
 
25
  def preprocess_image(image: Image.Image) -> Tuple[str, Image.Image]:
26
  """