mckabue commited on
Commit
77e0194
Β·
1 Parent(s): 1266555

2023-11-27-08-53-13

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ import os
8
  # os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
9
  # os.system("pip install requests==2.31.0")
10
  # os.system("pip install torch torchvision")
11
- os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
 
12
  os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
13
  os.system("pip install Pillow==9.4.0")
14
 
 
8
  # os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
9
  # os.system("pip install requests==2.31.0")
10
  # os.system("pip install torch torchvision")
11
+ os.system("git clone https://github.com/facebookresearch/detectron2.git")
12
+ os.system("python -m pip install -e detectron2")
13
  os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
14
  os.system("pip install Pillow==9.4.0")
15