(self, error_msg)
| 476 | self.top5_display.setHtml(top5_text) |
| 477 | |
| 478 | def display_error(self, error_msg): |
| 479 | self.progress_bar.setVisible(False) |
| 480 | self.predict_btn.setEnabled(True) |
| 481 | |
| 482 | self.main_prediction.setText(f'Error: {error_msg}') |
| 483 | self.main_prediction.setStyleSheet('color: #f44336;') |
| 484 | |
| 485 | def main(): |
| 486 | app = QApplication(sys.argv) |
nothing calls this directly
no outgoing calls
no test coverage detected