akhaliq HF staff commited on
Commit
ab5c947
1 Parent(s): 106c46c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import os
2
  import os
 
3
  print(os.environ.get('CUDA_PATH'))
4
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
5
  os.system("git clone https://github.com/facebookresearch/Mask2Former.git")
 
1
  import os
2
  import os
3
+ os.system("nvcc --version")
4
  print(os.environ.get('CUDA_PATH'))
5
  os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
6
  os.system("git clone https://github.com/facebookresearch/Mask2Former.git")