Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable internet access #86

Open
edward4096 opened this issue Dec 27, 2024 · 1 comment
Open

Disable internet access #86

edward4096 opened this issue Dec 27, 2024 · 1 comment

Comments

@edward4096
Copy link

Looking in Wireshark, it seems calling MangaOCR() makes various connections to https://huggingface.co/. How do I disable all these internet accesses? I do not see what purpose they have, since the library will work offline.

@edward4096
Copy link
Author

It seems that adding local_files_only=True to lines 17, 18 and 19 of manga_ocr/ocr.py works. Could this be made an option when initializing the library? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant