cavargas10 commited on
Commit
410cd67
·
verified ·
1 Parent(s): 44a6155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -143,6 +143,7 @@ def image_to_3d(
143
  req: gr.Request,
144
  ) -> Tuple[dict, str]:
145
  user_dir = os.path.join(TMP_DIR, str(req.session_hash))
 
146
  outputs = pipeline.run(
147
  image[1],
148
  seed=seed,
 
143
  req: gr.Request,
144
  ) -> Tuple[dict, str]:
145
  user_dir = os.path.join(TMP_DIR, str(req.session_hash))
146
+ os.makedirs(user_dir, exist_ok=True)
147
  outputs = pipeline.run(
148
  image[1],
149
  seed=seed,