Skip to content

Commit

Permalink
pypi package fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-blecher committed Aug 22, 2023
1 parent f84e177 commit 2b50b56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ./*.*
Empty file added nougat/utils/__init__.py
Empty file.
7 changes: 0 additions & 7 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ def get_args():
default=None,
help="Path to checkpoint directory",
)
parser.add_argument(
"--pages",
type=int,
nargs="+",
default=None,
help="if only one PDF is processed, which pages? if 2 numbers are given, all in between will be processed.",
)
parser.add_argument("--out", "-o", type=Path, help="Output directory.")
parser.add_argument("--recompute", action="store_true")
parser.add_argument("pdf", nargs="+", type=Path, help="PDF(s) to process.")
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description_file = README.md
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def read_long_description():
"result",
]
),
py_modules=["predict","app","train","test"],
python_requires=">=3.7",
install_requires=[
"transformers~=4.25.1",
Expand All @@ -49,7 +50,7 @@ def read_long_description():
"datasets[vision]",
"pytorch-lightning>=1.8.5",
"nltk",
"python-Levenshtein-wheels",
"python-Levenshtein",
"sentencepiece",
"sconf>=0.2.3",
"albumentations",
Expand Down

1 comment on commit 2b50b56

@ieew11233
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.