mckabue commited on
Commit
a31b6f8
Β·
1 Parent(s): 428d6d6

2023-12-19-18-00-03

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,14 +1,11 @@
1
 
2
  import os
3
 
4
- # os.system("pip install -q gradio==4.7.1")
5
  # os.system("pip install torch==2.1.0 torchvision torchaudio")
6
  # os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git@v0.6'")
7
  # os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
8
  # os.system("pip install requests==2.31.0")
9
- # os.system("pip install torch torchvision")
10
- # os.system("python -m pip install --upgrade pip")
11
- # os.system("pip --version")
12
  os.system("pip install torch")
13
  os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
14
  os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
 
1
 
2
  import os
3
 
4
+ # os.system("pip install -q gradio==4.10.0")
5
  # os.system("pip install torch==2.1.0 torchvision torchaudio")
6
  # os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git@v0.6'")
7
  # os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
8
  # os.system("pip install requests==2.31.0")
 
 
 
9
  os.system("pip install torch")
10
  os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
11
  os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")