vumichien commited on
Commit
1f5f01d
·
1 Parent(s): f8de70a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,8 +3,10 @@ import os
3
  import OpenGL.GL as gl
4
  os.environ["PYOPENGL_PLATFORM"] = "egl"
5
  sys.argv = ['VQ-Trans/GPT_eval_multi.py']
 
6
  os.makedirs('output', exist_ok=True)
7
  os.chdir('VQ-Trans')
 
8
  os.makedirs('checkpoints', exist_ok=True)
9
  os.system('gdown --fuzzy https://drive.google.com/file/d/1o7RTDQcToJjTm9_mNWTyzvZvjTWpZfug/view -O checkpoints/')
10
  os.system('gdown --fuzzy https://drive.google.com/file/d/1tX79xk0fflp07EZ660Xz1RAFE33iEyJR/view -O checkpoints/')
 
3
  import OpenGL.GL as gl
4
  os.environ["PYOPENGL_PLATFORM"] = "egl"
5
  sys.argv = ['VQ-Trans/GPT_eval_multi.py']
6
+ os.umask(0)
7
  os.makedirs('output', exist_ok=True)
8
  os.chdir('VQ-Trans')
9
+ os.umask(0)
10
  os.makedirs('checkpoints', exist_ok=True)
11
  os.system('gdown --fuzzy https://drive.google.com/file/d/1o7RTDQcToJjTm9_mNWTyzvZvjTWpZfug/view -O checkpoints/')
12
  os.system('gdown --fuzzy https://drive.google.com/file/d/1tX79xk0fflp07EZ660Xz1RAFE33iEyJR/view -O checkpoints/')