bill-jiang commited on
Commit
13f930b
1 Parent(s): 8397478
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +3 -1
app.py CHANGED
@@ -23,7 +23,7 @@ from huggingface_hub import snapshot_download
23
 
24
  os.environ["PYOPENGL_PLATFORM"] = "egl"
25
  os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
26
- os.system('pip install git+https://github.com/mmatl/pyopengl.git git+https://github.com/mmatl/pyglet.git PyOpenGL_accelerate')
27
 
28
  # Load model
29
  cfg = parse_args(phase="webui") # parse config file
 
23
 
24
  os.environ["PYOPENGL_PLATFORM"] = "egl"
25
  os.environ["MESA_GL_VERSION_OVERRIDE"] = "4.1"
26
+ os.system('pip install /home/user/app/pyrender')
27
 
28
  # Load model
29
  cfg = parse_args(phase="webui") # parse config file
requirements.txt CHANGED
@@ -18,7 +18,9 @@ numpy==1.23.1
18
 
19
  # for visualization
20
  gradio==3.43.2
21
- pyrender
 
 
22
  smplx==0.1.28
23
  trimesh==3.9.24
24
  joblib==1.2.0
 
18
 
19
  # for visualization
20
  gradio==3.43.2
21
+ PyOpenGL
22
+ PyOpenGL_accelerate
23
+ pyglet
24
  smplx==0.1.28
25
  trimesh==3.9.24
26
  joblib==1.2.0