Closed math-feng closed 7 months ago
Hi! Is this the same issue as https://github.com/Hugo-Persson/obsidian-ocrlatex/issues/13?
Could you send a screenshot of your configured settings?
yes
I'm omitting three numbers on the first line for the sake of privacy
A very important fact is that no matter how I set it up, the server address at runtime points to the local
Ok nice catch! I will look into it before the day is done and get back to you.
I have released a new version 1.1.1
could you try that @math-feng ?
Nvm use version 1.1.2
, fixed another bug
root@iZkzr13nj40jdwZ:~# curl -X POST -F "image=@/www/wwwroot/resource/Obsidian_24_04_05_138.png" http://127.0.0.1:8000/predict
{"error":"We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like vikp/texify is not the path to a directory containing a file named config.json.\nCheckout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'."}
root@iZkzr13nj40jdwZ:~#
This is the result of my testing on the server, probably caused by my network limitations in China.
Oh yeah that might be a problem with China. Maybe use a VPN?
If you use a VPN in a server, the server will be blocked
I am closing this issue and will continue in https://github.com/Hugo-Persson/texify-wep-api/issues/1
How exactly this error came about is not clear to me. Because I don't know the server very well. The first item about texify I put in the public ip address, followed by the account and password, which is the account and password I use to log into the cloud server.
One weird thing, I obviously changed the first item, but it still comes up every time I report an error.