lucasvanmol / obsidian-latex-ocr

Generate LaTeX equations from images in your clipboard or vault
GNU General Public License v3.0
86 stars 4 forks source link

[Bug] Display bug when (re)start model is used #9

Open lucasvanmol opened 1 year ago

lucasvanmol commented 1 year ago

Shows "model unreachable" when it's loading. However, it does turn into "ready" correctly - but this is confusing when the model is being downloaded, as this takes time.

lucasvanmol commented 1 month ago

This is probably due to huggingface outputs being changed when downloading, there's now a deprecation:

AppData\Roaming\Python\Python312\site-packages\huggingface_hub\file_download.py:1142: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.