multimodalart HF Staff commited on
Commit
0fa7c99
·
verified ·
1 Parent(s): a913002

[Admin maintenance] Support new ZeroGPU hardware

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -29,6 +29,11 @@ from huggingface_hub import hf_hub_download
29
 
30
  import gradio as gr
31
 
 
 
 
 
 
32
 
33
  def get_render_cameras(batch_size=1, M=120, radius=2.5, elevation=10.0, is_flexicubes=False):
34
  """
 
29
 
30
  import gradio as gr
31
 
32
+ import subprocess, sys
33
+ subprocess.check_call([
34
+ sys.executable, "-m", "pip", "install", "--no-build-isolation",
35
+ "git+https://github.com/NVlabs/nvdiffrast/",
36
+ ])
37
 
38
  def get_render_cameras(batch_size=1, M=120, radius=2.5, elevation=10.0, is_flexicubes=False):
39
  """