AI4Bharat / IndicXlit

Transliteration models for 21 Indic languages
https://ai4bharat.iitm.ac.in/transliteration
MIT License
76 stars 22 forks source link

FastAPI server #37

Open janaab11 opened 3 weeks ago

janaab11 commented 3 weeks ago

Hi, very interesting work here. Kudos to the team!

Was going through the server implementation, and realised it is written in Flask. Is there a reason behind this choice, over something like FastAPI? I am sure we all are aware of the advantages of the Pydantic model in maintenance and runtime handling - so wondering if there is something specific to this work that makes Flask a better choice.

If not, happy to make a PR - adding a FastAPI port of the existing server.