Skip to content

Commit

Permalink
Make EdgeSAM the default option for AI polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
healthonrails committed Dec 22, 2023
1 parent 099815c commit e921510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion annolid/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ def __init__(self,

self._selectAiModelComboBox.clear()
self._selectAiModelComboBox.addItems([model.name for model in MODELS])
self._selectAiModelComboBox.setCurrentIndex(1)
#Set EdgeSAM as default
self._selectAiModelComboBox.setCurrentIndex(0)
self._selectAiModelComboBox.currentIndexChanged.connect(
lambda: self.canvas.initializeAiModel(
name=self._selectAiModelComboBox.currentText()
Expand Down

0 comments on commit e921510

Please sign in to comment.