Stable-X commited on
Commit
2056741
·
verified ·
1 Parent(s): 984a9c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -18,9 +18,7 @@ from trellis.utils import render_utils, postprocessing_utils
18
 
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
- # TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
22
- TMP_DIR = "tmp/Trellis-demo"
23
- os.environ['GRADIO_TEMP_DIR'] = 'tmp'
24
  os.makedirs(TMP_DIR, exist_ok=True)
25
 
26
  def start_session(req: gr.Request):
 
18
 
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
21
+ TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
 
 
22
  os.makedirs(TMP_DIR, exist_ok=True)
23
 
24
  def start_session(req: gr.Request):