From a3004b585e371c6b3445e0a1f54dd9fa7f119ed7 Mon Sep 17 00:00:00 2001 From: cxnt Date: Tue, 21 Jan 2025 17:52:04 +0400 Subject: [PATCH] Fix README formatting and enable additional settings button when templates are available --- project-dataset/README.md | 4 +--- project-dataset/src/ui/inference_settings.py | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project-dataset/README.md b/project-dataset/README.md index 3813a27..3a0a594 100644 --- a/project-dataset/README.md +++ b/project-dataset/README.md @@ -28,10 +28,9 @@ App connects to the deployed Neural Network and applies it to the images project SLY_EMBEDED_VIDEO_LINK - # What's New -### v1.7.40 +### v1.7.41 - Added support for saving and loading inference settings from `.yaml` template file. Now you can save your settings templates and load them later to apply to the same or another project. Settings are saved to the template folder located in the Team Files: `nn-image-labeling/inf-settings-templates/`. @@ -60,4 +59,3 @@ https://user-images.githubusercontent.com/33942379/171401798-0b425683-4138-4b01- 0. Add this app to your team from Ecosystem 1. Be sure that NN you are going to use is deployed in your team 2. Start app from the context menu of the images project or dataset. - diff --git a/project-dataset/src/ui/inference_settings.py b/project-dataset/src/ui/inference_settings.py index 50c5e45..17973ae 100644 --- a/project-dataset/src/ui/inference_settings.py +++ b/project-dataset/src/ui/inference_settings.py @@ -222,3 +222,5 @@ def refresh_tempaltes(): additional_settings_selector.set(items) if len(items) == 0: additional_settings_btn.disable() + else: + additional_settings_btn.enable()