Cloe icon indicating copy to clipboard operation
Cloe copied to clipboard

Loading MangaOCR manually

Open willyiam84 opened this issue 2 years ago • 6 comments

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.

willyiam84 avatar Feb 18 '23 07:02 willyiam84

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

blueaxis avatar Feb 18 '23 08:02 blueaxis

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!

ThoughtfulSenpai avatar Apr 11 '23 20:04 ThoughtfulSenpai

@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.

blueaxis avatar Apr 29 '23 05:04 blueaxis

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.

AnarchystBR avatar May 18 '23 18:05 AnarchystBR

+1

Oshibuki avatar Sep 23 '23 00:09 Oshibuki

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

20240422103210

AnarchystBR avatar Apr 22 '24 13:04 AnarchystBR