MCPcopy Create free account
hub / github.com/geekcomputers/Python / display_error

Method display_error

ML/src/python/neuralforge/cli/gui.py:476–481  ·  view source on GitHub ↗
(self, error_msg)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected