Returns output for display based on the result of calling the model.
(self, attacked_text)
| 70 | return result, _ |
| 71 | |
| 72 | def get_output(self, attacked_text): |
| 73 | """Returns output for display based on the result of calling the |
| 74 | model.""" |
| 75 | return self._get_displayed_output(self._call_model([attacked_text])[0]) |
| 76 | |
| 77 | def get_result(self, attacked_text, **kwargs): |
| 78 | """A helper method that queries ``self.get_results`` with a single |
no test coverage detected