emanjavacas / pie

A fully-fledge PyTorch package for Morphological Analysis, tailored to morphologically rich and historical languages.
MIT License
22 stars 10 forks source link

Webapp customization #13

Closed PonteIneptique closed 5 years ago

PonteIneptique commented 5 years ago

Fix for #12.

app.py still remains available but now uses webapp.bind() to generate the app. People willing to customize their tokenizer or add more thing to the app can now do so. An example can be found at https://github.com/chartes/deucalion-model-af with a form added.

I think it would be cool if you like this PR to make a release, so that my Docker Images download the tag instead of the branch :) As well, I did not do it, but maybe it would be interesting for people to have a link to https://github.com/chartes/deucalion-model-af if they want to build their own webservice easily.