mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
Readmes and version updates
This commit is contained in:
parent
b2894d0280
commit
d8c13d05f6
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
.PHONY : docs
|
.PHONY : docs
|
||||||
docs :
|
docs :
|
||||||
rm -rf docs/build/
|
rm -rf docs/build/
|
||||||
sphinx-autobuild -b html --watch pdelfin/ docs/source/ docs/build/
|
sphinx-autobuild -b html --watch olmocr/ docs/source/ docs/build/
|
||||||
|
|
||||||
.PHONY : run-checks
|
.PHONY : run-checks
|
||||||
run-checks :
|
run-checks :
|
||||||
@ -9,7 +9,7 @@ run-checks :
|
|||||||
black --check .
|
black --check .
|
||||||
ruff check .
|
ruff check .
|
||||||
mypy .
|
mypy .
|
||||||
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ pdelfin/
|
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ olmocr/
|
||||||
|
|
||||||
.PHONY : build
|
.PHONY : build
|
||||||
build :
|
build :
|
||||||
|
@ -29,10 +29,6 @@ cd olmocr
|
|||||||
pip install -e .
|
pip install -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
You will also need to install the latest pypdf, which contains some fixes regarding processing PDF documents. Hopefully soon it will be included in the next full release.
|
|
||||||
```bash
|
|
||||||
pip install git+https://github.com/py-pdf/pypdf.git@9e0fce7b9810d3e09e2af66481ea3429c42e0d11
|
|
||||||
```
|
|
||||||
|
|
||||||
### Beaker Usage
|
### Beaker Usage
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ requires-python = ">=3.8"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"cached-path",
|
"cached-path",
|
||||||
"smart_open",
|
"smart_open",
|
||||||
"pypdf>=5.1.0",
|
"pypdf>=5.2.0",
|
||||||
"pymupdf",
|
"pymupdf",
|
||||||
"pypdfium2",
|
"pypdfium2",
|
||||||
"cryptography",
|
"cryptography",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user