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

Method browse_model

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

Source from the content-addressed store, hash-verified

323 self.setStyleSheet(qss)
324
325 def browse_model(self):
326 file_path, _ = QFileDialog.getOpenFileName(
327 self,
328 'Select Model File',
329 './models',
330 'Model Files (*.pt *.pth);;All Files (*.*)'
331 )
332 if file_path:
333 self.model_path_input.setText(file_path)
334
335 def use_default_model(self):
336 default_path = './models/final_model.pt'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected