akhaliq HF Staff commited on
Commit
fbec434
·
1 Parent(s): 2a3aa59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -7,13 +7,7 @@ os.system("git clone https://github.com/AK391/Mask2Former.git")
7
 
8
  os.chdir("Mask2Former")
9
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
10
- os.chdir("mask2former/modeling/pixel_decoder/ops")
11
- #s.system("pwd")
12
 
13
- os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0"
14
- os.environ["FORCE_CUDA"] = "1"
15
- os.system("python setup.py build install")
16
- os.chdir("/home/user/app/Mask2Former/")
17
  os.system("pwd")
18
  import gradio as gr
19
  # check pytorch installation:
 
7
 
8
  os.chdir("Mask2Former")
9
  os.system("pip install git+https://github.com/cocodataset/panopticapi.git")
 
 
10
 
 
 
 
 
11
  os.system("pwd")
12
  import gradio as gr
13
  # check pytorch installation: