Charles Kabui commited on
Commit
05dbbf3
·
1 Parent(s): f4695af

gather package versions

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import os
2
  os.system("apt-get install poppler-utils")
3
- os.system("python -m pip install torch")
4
- os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'")
5
- os.system("python -m pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
6
- os.system("python -m pip install Pillow==9.4.0")
7
- os.system("python -m pip install imagehash")
 
8
 
9
  from main import app
10
 
 
1
  import os
2
  os.system("apt-get install poppler-utils")
3
+ os.system("python -m pip install torch==2.1.0")
4
+ os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git@898507047cf441a1e4be7a729270961c401c4354'")
5
+ os.system("python -m pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
6
+ os.system("python -m pip install Pillow==9.5.0")
7
+ os.system("python -m pip install imagehash==4.3.1")
8
+ os.system("python -m pip install tensorflow==2.15.0 tensorflow-estimator==2.15.0")
9
 
10
  from main import app
11