thammegowda / nllb-serve

Meta's "No Language Left Behind" models served as web app and REST API
http://rtg.isi.edu/nllb/
151 stars 20 forks source link

Issue with subtitleedit autotranslations #17

Closed Alihkhawaher closed 3 months ago

Alihkhawaher commented 3 months ago

Dears after I updated today, I was unable to translate to Arabic using subtitleedit, the translated text are gibberish /0xxx codes

I returned nllb-serve to commit 640b31e and now it is fine. I do not know why, but I know that it is because of the recent changes.

Note, the translation using the webpage is fine.

Thanks

thammegowda commented 3 months ago

@Alihkhawaher Thanks for reporting! We recently upgrade an underlying library (Flask v2.x -> v3.x) which broke the way unicode text is handled in JSON output. Thanks @sgowdaks for fixing it in #18

thammegowda commented 3 months ago

@Alihkhawaher please let us know here if you face the encoding issue after upgrading to newest version!

Alihkhawaher commented 3 months ago

Yes, I did git pull and pip -r requirements.txt --upgrade

Now translation in subtitleedit works fine.

Many thanks