Skip to content

Commit

Permalink
Nougat loader: download model to default cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidminas committed Dec 2, 2023
1 parent 4832b35 commit 159d7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatdocs/document_loaders/nougat_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(
"`nougat` package not found, please install it with "
"`pip install nougat-ocr`"
)
checkpoint = get_checkpoint("nougat", download=True)
checkpoint = get_checkpoint(download=True)
self.model = NougatModel.from_pretrained(checkpoint)

if torch.cuda.is_available():
Expand Down

0 comments on commit 159d7b8

Please sign in to comment.