* add filter to things that return confidences need to add ui elements to select between the two methods
* add ui elements for controlling method
* forgot to remove this
* fix incorrect early exit
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix: pop mask only top k params
* fix: filter confidences
* refactor: change to one public function
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dowon <ks2515@naver.com>