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

Loading MangaOCR manually #21

Open
willyiam84 opened this issue Feb 18, 2023 · 6 comments
Open

Loading MangaOCR manually #21

willyiam84 opened this issue Feb 18, 2023 · 6 comments

Comments

@willyiam84
Copy link

Due to my network problem, I couldn't load MangaOCR successfully. So I want to know if I could download that model from any source and load it manually.

@blueaxis
Copy link
Owner

I believe these are the files that are downloaded when loading the model. Though I'm not sure how to manually place it in your machine. Can you paste here the error you're getting? It should be in your notifications

@ThoughtfulSenpai
Copy link

Not the original creator of this ticket but, as for notifications, this is pretty much all I got when opening Cloe without internet connection.
image

Pretty straightforward but not very informative.
Anyway. So I cloned the repo from huggingface , and a couple questions arise.

  1. Are 400 mb downloaded every time I open the app. That's pretty wasteful. I mean I have a solid internet connection and all but why download 400mb everytime? Or are we just accessing the model online? Since Poricom can function with the model deployed locally, is there an architectural reason why Cloe shouldn't be able to run 100% locally?

In any case, since I got the repo cloned, I would like to see if you have any clue whatsoever on how to set those files locall to the app folder and get rid of the requirement for internet, if possible. Any pointers or help would be appreciated enormously. The app is great, works flawlessly and it is an absolute charm to use, so I really would like to check if it would be possible to run it offline 100%. HAve a great day!

@blueaxis
Copy link
Owner

@ThoughtfulSenpai

Are 400 mb downloaded every time I open the app

No, it is downloaded once into your file system once. The reason why you need internet on the next load is because huggingface verifies whether you have the correct files in your system.

Since Poricom can function with the model deployed locally, is there an architectural reason why Cloe shouldn't be able to run 100% locally?

No reason from the engineering side at all. I was busy these past few months so I just haven't added it yet.

I would like to see if you have any clue whatsoever on how to set those files local to the app folder and get rid of the requirement for internet

Cloe and Poricom's codebase is a lot similar so you may check this merge commit and implement it yourself while waiting for the next release.

@AnarchystBR
Copy link

I'd very much like to run Cloe 100% offline too.
Of all the Capture2Text alternatives out there this is by far the best. No bells and whistles, just straight to the point.
Looking forward to the next release.

@Oshibuki
Copy link

+1

@AnarchystBR
Copy link

AnarchystBR commented Apr 22, 2024

Receiving this today.
My Internet connection is ok.
Please make Chloe run 100% offline 🙏

20240422103210

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

5 participants