supervisely 6.73.285__py3-none-any.whl → 6.73.286__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.
Potentially problematic release.
This version of supervisely might be problematic. Click here for more details.
- supervisely/__init__.py +1 -1
- supervisely/app/fastapi/subapp.py +12 -11
- supervisely/nn/inference/inference.py +1 -0
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/METADATA +1 -1
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/RECORD +9 -9
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/LICENSE +0 -0
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/WHEEL +0 -0
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.285.dist-info → supervisely-6.73.286.dist-info}/top_level.txt +0 -0
supervisely/__init__.py
CHANGED
|
@@ -311,4 +311,4 @@ except Exception as e:
|
|
|
311
311
|
# If new changes in Supervisely Python SDK require upgrade of the Supervisely instance
|
|
312
312
|
# set a new value for the environment variable MINIMUM_INSTANCE_VERSION_FOR_SDK, otherwise
|
|
313
313
|
# users can face compatibility issues, if the instance version is lower than the SDK version.
|
|
314
|
-
os.environ["MINIMUM_INSTANCE_VERSION_FOR_SDK"] = "6.12.
|
|
314
|
+
os.environ["MINIMUM_INSTANCE_VERSION_FOR_SDK"] = "6.12.23"
|
|
@@ -926,19 +926,20 @@ class Application(metaclass=Singleton):
|
|
|
926
926
|
self.test_client = TestClient(self._fastapi)
|
|
927
927
|
|
|
928
928
|
if not headless:
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
929
|
+
if is_development() and hot_reload:
|
|
930
|
+
templates = Jinja2Templates()
|
|
931
|
+
self.hot_reload = arel.HotReload([])
|
|
932
|
+
self._fastapi.add_websocket_route(
|
|
933
|
+
"/hot-reload", route=self.hot_reload, name="hot-reload"
|
|
934
|
+
)
|
|
935
|
+
self._fastapi.add_event_handler("startup", self.hot_reload.startup)
|
|
936
|
+
self._fastapi.add_event_handler("shutdown", self.hot_reload.shutdown)
|
|
936
937
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
938
|
+
# Setting HOTRELOAD=1 in template context, otherwise the HTML would not have the hot reload script.
|
|
939
|
+
templates.env.globals["HOTRELOAD"] = "1"
|
|
940
|
+
templates.env.globals["hot_reload"] = self.hot_reload
|
|
940
941
|
|
|
941
|
-
|
|
942
|
+
logger.debug("Hot reload is enabled, use app.reload_page() to reload page.")
|
|
942
943
|
|
|
943
944
|
if is_production():
|
|
944
945
|
# to save offline session
|
|
@@ -2654,6 +2654,7 @@ class Inference:
|
|
|
2654
2654
|
|
|
2655
2655
|
# Ger rid of `pending_results` to less response size
|
|
2656
2656
|
inference_request["pending_results"] = []
|
|
2657
|
+
inference_request.pop("lock", None)
|
|
2657
2658
|
return inference_request
|
|
2658
2659
|
|
|
2659
2660
|
@server.post(f"/pop_inference_results")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
supervisely/README.md,sha256=XM-DiMC6To3I9RjQZ0c61905EFRR_jnCUx2q3uNR-X8,3331
|
|
2
|
-
supervisely/__init__.py,sha256=
|
|
2
|
+
supervisely/__init__.py,sha256=xrUgQsIthS0kN4wPKAWP38oNX1KGQSg6MtJux9joKbA,10833
|
|
3
3
|
supervisely/_utils.py,sha256=DX_2n8zWTG2AzW8bCvU9z9joLzcwzVjLmvslVF39pE8,16022
|
|
4
4
|
supervisely/function_wrapper.py,sha256=R5YajTQ0GnRp2vtjwfC9hINkzQc0JiyGsu8TER373xY,1912
|
|
5
5
|
supervisely/sly_logger.py,sha256=LG1wTyyctyEKuCuKM2IKf_SMPH7BzkTsFdO-0tnorzg,6225
|
|
@@ -93,7 +93,7 @@ supervisely/app/fastapi/index.html,sha256=wMMWSRCoVeOnIJYUHR6Aj-jebOuian963Si-cz
|
|
|
93
93
|
supervisely/app/fastapi/no_html_main.html,sha256=NhQP7noyORBx72lFh1CQKgBRupkWjiq6Gaw-9Hkvg7c,37
|
|
94
94
|
supervisely/app/fastapi/offline.py,sha256=CwMMkJ1frD6wiZS-SEoNDtQ1UJcJe1Ob6ohE3r4CQL8,7414
|
|
95
95
|
supervisely/app/fastapi/request.py,sha256=NU7rKmxJ1pfkDZ7_yHckRcRAueJRQIqCor11UO2OHr8,766
|
|
96
|
-
supervisely/app/fastapi/subapp.py,sha256=
|
|
96
|
+
supervisely/app/fastapi/subapp.py,sha256=MlB2dcHEtF0RPk-hxk67Gb1wBeGHsgCEIqAaBHzLEoY,43653
|
|
97
97
|
supervisely/app/fastapi/templating.py,sha256=sxp8QMYfWd6ARDTl6c4JqY985-BSkM_WLxHEH2kv3bg,2929
|
|
98
98
|
supervisely/app/fastapi/utils.py,sha256=GZuTWLcVRGVx8TL3jVEYUOZIT2FawbwIe2kAOBLw9ho,398
|
|
99
99
|
supervisely/app/fastapi/websocket.py,sha256=TlRSPOAhRItTv1HGvdukK1ZvhRjMUxRa-lJlsRR9rJw,1308
|
|
@@ -872,7 +872,7 @@ supervisely/nn/benchmark/visualization/widgets/table/__init__.py,sha256=47DEQpj8
|
|
|
872
872
|
supervisely/nn/benchmark/visualization/widgets/table/table.py,sha256=atmDnF1Af6qLQBUjLhK18RMDKAYlxnsuVHMSEa5a-e8,4319
|
|
873
873
|
supervisely/nn/inference/__init__.py,sha256=mtEci4Puu-fRXDnGn8RP47o97rv3VTE0hjbYO34Zwqg,1622
|
|
874
874
|
supervisely/nn/inference/cache.py,sha256=h-pP_7th0ana3oJ75sFfTbead3hdKUvYA8Iq2OXDx3I,31317
|
|
875
|
-
supervisely/nn/inference/inference.py,sha256=
|
|
875
|
+
supervisely/nn/inference/inference.py,sha256=WsxKGawOxxziL5sGQebN_KQ5hi22lZOGXODOM5ev1uE,144908
|
|
876
876
|
supervisely/nn/inference/session.py,sha256=jmkkxbe2kH-lEgUU6Afh62jP68dxfhF5v6OGDfLU62E,35757
|
|
877
877
|
supervisely/nn/inference/video_inference.py,sha256=8Bshjr6rDyLay5Za8IB8Dr6FURMO2R_v7aELasO8pR4,5746
|
|
878
878
|
supervisely/nn/inference/gui/__init__.py,sha256=wCxd-lF5Zhcwsis-wScDA8n1Gk_1O00PKgDviUZ3F1U,221
|
|
@@ -1071,9 +1071,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1071
1071
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1072
1072
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1073
1073
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1074
|
-
supervisely-6.73.
|
|
1075
|
-
supervisely-6.73.
|
|
1076
|
-
supervisely-6.73.
|
|
1077
|
-
supervisely-6.73.
|
|
1078
|
-
supervisely-6.73.
|
|
1079
|
-
supervisely-6.73.
|
|
1074
|
+
supervisely-6.73.286.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1075
|
+
supervisely-6.73.286.dist-info/METADATA,sha256=ulxDJ50Pdv9rflRKXgqgB8fpw1pOMrd4xzC1uDdIseU,33573
|
|
1076
|
+
supervisely-6.73.286.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
1077
|
+
supervisely-6.73.286.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1078
|
+
supervisely-6.73.286.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1079
|
+
supervisely-6.73.286.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|