Prediction is triggered too early during demo on Firefox
When a demo is launched, on the longest sentences, the prediction is triggered before the sentence is completely filled in the input box. This causes the output to be corrupted.
Issue occuring on Firefox. Not occuring on: Brave, Chrome, Chromium, Edge.
File involved: https://github.com/psawa/gecko-app/blob/master/application/static/js/demo.js
Similarly, I noticed that in chrome, if the browser is focused on another tab, the demo animation will halt. Then the prediction will be triggered before the input sentence is complete.
When a demo is launched, on the longest sentences, the prediction is triggered before the sentence is completely filled in the input box. This causes the output to be corrupted.
I don't have this issue on Firefox.
Similarly, I noticed that in chrome, if the browser is focused on another tab, the demo animation will halt. Then the prediction will be triggered before the input sentence is complete.
Happens on Firefox too.