Create a Client-Side chrome extension - Much like how Grammarly is, where the extension can be overlaid on any textbox(like Grammarly) and show stats of what has been written in that particular textbox. This extension should work on most of the sites and get overlaid on those text boxes to show the stats for the text that has been written
The stats that you would get from backend would be something like this, how these stats are to be shown is up to your creativity:
Create a Client-Side chrome extension - Much like how Grammarly is, where the extension can be overlaid on any textbox(like Grammarly) and show stats of what has been written in that particular textbox. This extension should work on most of the sites and get overlaid on those text boxes to show the stats for the text that has been written
The stats that you would get from backend would be something like this, how these stats are to be shown is up to your creativity:
{ "result": "(MultiCategory tensor([1., 1., 1., 0., 1., 0.]), tensor([1., 1., 1., 0., 1., 0.]), tensor([0.9999, 0.9452, 1.0000, 0.0019, 0.9661, 0.0018]))", "list": [ 0.9999, 0.9452, 1, 0.0019, 0.9661, 0.0018 ], "dict": { "toxic": 0.9999, "severe_toxic": 0.9452, "obscene": 1, "insult": 0.9661 }
We are interested in the final dictionary being overlaid on the textbox