Cannot update models (normal if you're offline): module 'app.language' has no attribute 'languages'

libretranslate --host 10.0.2.15 --load-only ‘nl,en’ --debug
Cannot update models (normal if you’re offline): module ‘app.language’ has no attribute ‘languages’

  • Serving Flask app ‘app.app’ (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on http://10.0.2.15:5000 (Press CTRL+C to quit)
    10.0.2.2 - - [30/May/2022 04:29:09] “POST /translate HTTP/1.1” 500 -
2 Likes

@irfanece did you find any solution for this.

I am facing the same issue.