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

Method use_default_model

ML/tests/gui_test.py:323–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

321 self.model_path_input.setText(file_path)
322
323 def use_default_model(self):
324 default_path = os.path.join(os.path.dirname(__file__), '..', 'models', 'final_model.pt')
325 self.model_path_input.setText(os.path.abspath(default_path))
326
327 def browse_image(self):
328 file_path, _ = QFileDialog.getOpenFileName(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected