Skip to content

Commit ab974fc

Browse files
committed
v1.3.6
- 模型初始化结果更醒目了。
1 parent e5f831d commit ab974fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ISAT/widgets/mainwindow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,8 @@ def init_sam_finish(self, sam_tag:bool, sam_video_tag:bool):
500500
if self.use_remote_sam:
501501
sam_video_tag = False
502502

503-
print('sam_tag:', sam_tag, 'sam_video_tag: ', sam_video_tag)
503+
print('sam_tag:', f'\033[32m{sam_tag}\033[0m' if sam_tag else f'\033[31m{sam_tag}\033[0m',
504+
'sam_video_tag: ', f'\033[32m{sam_video_tag}\033[0m' if sam_video_tag else f'\033[31m{sam_video_tag}\033[0m')
504505
self.setEnabled(True)
505506
if sam_video_tag:
506507
self.use_segment_anything_video = True

0 commit comments

Comments
 (0)