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

Method use_default_model

ML/src/python/neuralforge/cli/gui.py:335–339  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

333 self.model_path_input.setText(file_path)
334
335 def use_default_model(self):
336 default_path = './models/final_model.pt'
337 if not os.path.exists(default_path):
338 default_path = './models/best_model.pt'
339 self.model_path_input.setText(os.path.abspath(default_path))
340
341 def browse_image(self):
342 file_path, _ = QFileDialog.getOpenFileName(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected