This is the client side for the language detection API that is This repo
- This is a Flask website
- The HTML contains the form which takes one input i.e the string whose language has to be detected, the fields name is 'text' as the api requires
- On submitting the form redirects to '/send' route, which sends the text string in the form of json to the api and recieves the answer from api with the key 'predicted'
- This answer is then sent to the html page using render_template and displayed.
This is hosted on heroku
Link