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