supervisely 6.73.430__py3-none-any.whl → 6.73.431__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supervisely/app/fastapi/templating.py +1 -1
- supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py +10 -5
- supervisely/versions.json +2 -1
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/METADATA +1 -1
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/RECORD +9 -9
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/LICENSE +0 -0
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/WHEEL +0 -0
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.430.dist-info → supervisely-6.73.431.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ from supervisely.app.singleton import Singleton
|
|
|
11
11
|
from supervisely.app.widgets_context import JinjaWidgets
|
|
12
12
|
|
|
13
13
|
# https://github.com/supervisely/js-bundle
|
|
14
|
-
js_bundle_version = "2.
|
|
14
|
+
js_bundle_version = "2.2.2"
|
|
15
15
|
|
|
16
16
|
# https://github.com/supervisely-ecosystem/supervisely-app-frontend-js
|
|
17
17
|
js_frontend_version = "v0.0.56"
|
|
@@ -48,13 +48,17 @@ class EcosystemModelSelector(Widget):
|
|
|
48
48
|
|
|
49
49
|
@self.framework_filter.value_changed
|
|
50
50
|
def _framework_filter_changed(frameworks: List[DropdownCheckboxSelector.Item]):
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
self.frameworks = [f.id for f in frameworks] if frameworks else None
|
|
52
|
+
task_types = [t.id for t in self.task_filter.get_selected()]
|
|
53
|
+
self.task_types = task_types if task_types else None
|
|
54
|
+
self.table.filter((self.frameworks, self.task_types))
|
|
53
55
|
|
|
54
56
|
@self.task_filter.value_changed
|
|
55
57
|
def _task_filter_changed(task_types: List[DropdownCheckboxSelector.Item]):
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
self.task_types = [t.id for t in task_types] if task_types else None
|
|
59
|
+
frameworks = [f.id for f in self.framework_filter.get_selected()]
|
|
60
|
+
self.frameworks = frameworks if frameworks else None
|
|
61
|
+
self.table.filter((self.frameworks, self.task_types))
|
|
58
62
|
|
|
59
63
|
super().__init__(widget_id=widget_id, file_path=__file__)
|
|
60
64
|
|
|
@@ -148,7 +152,8 @@ class EcosystemModelSelector(Widget):
|
|
|
148
152
|
|
|
149
153
|
def get_selected(self):
|
|
150
154
|
idx = self.table.get_selected_row().row_index
|
|
151
|
-
|
|
155
|
+
models = self._filter_models(self.models, self.frameworks, self.task_types)
|
|
156
|
+
return models[idx]
|
|
152
157
|
|
|
153
158
|
def select(self, index: int):
|
|
154
159
|
self.table.select_row(index)
|
supervisely/versions.json
CHANGED
|
@@ -4,7 +4,7 @@ supervisely/_utils.py,sha256=59vOeNOnmVHODnlAvULT8jdwvHHVTs2FOtAFw8mvaqE,20643
|
|
|
4
4
|
supervisely/function_wrapper.py,sha256=R5YajTQ0GnRp2vtjwfC9hINkzQc0JiyGsu8TER373xY,1912
|
|
5
5
|
supervisely/sly_logger.py,sha256=z92Vu5hmC0GgTIJO1n6kPDayRW9__8ix8hL6poDZj-Y,6274
|
|
6
6
|
supervisely/tiny_timer.py,sha256=hkpe_7FE6bsKL79blSs7WBaktuPavEVu67IpEPrfmjE,183
|
|
7
|
-
supervisely/versions.json,sha256=
|
|
7
|
+
supervisely/versions.json,sha256=Cppk4ndoCkIEclgQwVKzJjFQjahjOPpVuoo4LrM9eTE,585
|
|
8
8
|
supervisely/annotation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
supervisely/annotation/annotation.py,sha256=th4gsIU-LNGcMRohHrtupmjxDwdzx1g4_0xIAa6NyJU,114717
|
|
10
10
|
supervisely/annotation/annotation_transforms.py,sha256=TlVy_gUbM-XH6GbLpZPrAi6pMIGTr7Ow02iSKOSTa-I,9582
|
|
@@ -101,7 +101,7 @@ supervisely/app/fastapi/no_html_main.html,sha256=NhQP7noyORBx72lFh1CQKgBRupkWjiq
|
|
|
101
101
|
supervisely/app/fastapi/offline.py,sha256=CwMMkJ1frD6wiZS-SEoNDtQ1UJcJe1Ob6ohE3r4CQL8,7414
|
|
102
102
|
supervisely/app/fastapi/request.py,sha256=NU7rKmxJ1pfkDZ7_yHckRcRAueJRQIqCor11UO2OHr8,766
|
|
103
103
|
supervisely/app/fastapi/subapp.py,sha256=GxMeYMy7lCkef8R_61F2XqxKjJjtyAk7CNDSCIc07ZY,50127
|
|
104
|
-
supervisely/app/fastapi/templating.py,sha256=
|
|
104
|
+
supervisely/app/fastapi/templating.py,sha256=etFkNJKvoWsHrHpmgDUuybZXcLuzS1IBRxvPnZlT9K8,2928
|
|
105
105
|
supervisely/app/fastapi/utils.py,sha256=t_UquzlFrdkKtAJmH6eJ279pE8Aa3BaIu4XjX-SEaIE,946
|
|
106
106
|
supervisely/app/fastapi/websocket.py,sha256=TlRSPOAhRItTv1HGvdukK1ZvhRjMUxRa-lJlsRR9rJw,1308
|
|
107
107
|
supervisely/app/v1/__init__.py,sha256=OdU0PYv6hLwahYoyaLFO8m3cbJSchvPbqxuG1N3T734,848
|
|
@@ -246,7 +246,7 @@ supervisely/app/widgets/dropdown_checkbox_selector/__init__.py,sha256=47DEQpj8HB
|
|
|
246
246
|
supervisely/app/widgets/dropdown_checkbox_selector/dropdown_checkbox_selector.py,sha256=Xu-7ktelagX7ACdqd-VfUaGPjHsAErl7HRs4Xexvo9Q,2554
|
|
247
247
|
supervisely/app/widgets/dropdown_checkbox_selector/template.html,sha256=nPHWIGHQroR7_DQdzYY6ErxzLsW1Lpmt7aayJmVaGXg,521
|
|
248
248
|
supervisely/app/widgets/ecosystem_model_selector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
249
|
-
supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py,sha256=
|
|
249
|
+
supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py,sha256=J9SJjY1Lcsc64hMLNM5SFgljpK3qYPwxVbTsYEEZRNo,7382
|
|
250
250
|
supervisely/app/widgets/editor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
251
251
|
supervisely/app/widgets/editor/editor.py,sha256=jhuB4xPmq9f3z4cB_5DrXDjgPdzXkf3xWN8wJwstj8o,7662
|
|
252
252
|
supervisely/app/widgets/editor/template.html,sha256=8byDuuqtsaxAHImqFI0Jv7-6O63Gxu0IfccLL9zFdVA,282
|
|
@@ -1127,9 +1127,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1127
1127
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1128
1128
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1129
1129
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1130
|
-
supervisely-6.73.
|
|
1131
|
-
supervisely-6.73.
|
|
1132
|
-
supervisely-6.73.
|
|
1133
|
-
supervisely-6.73.
|
|
1134
|
-
supervisely-6.73.
|
|
1135
|
-
supervisely-6.73.
|
|
1130
|
+
supervisely-6.73.431.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1131
|
+
supervisely-6.73.431.dist-info/METADATA,sha256=Tdduz5-kfqxj39qOe4tcX_-58Hp904M_Ja2X3M6G_LA,35433
|
|
1132
|
+
supervisely-6.73.431.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1133
|
+
supervisely-6.73.431.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1134
|
+
supervisely-6.73.431.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1135
|
+
supervisely-6.73.431.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|