`ultralytics 8.3.18` fix `is_jupyter()` to `globals()` (#17023)

pull/6576/merge
Glenn Jocher 1 month ago committed by GitHub
parent b5f1a70974
commit 92cc8b8b52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ultralytics/__init__.py
  2. 2
      ultralytics/utils/__init__.py

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
__version__ = "8.3.17"
__version__ = "8.3.18"
import os

@ -571,7 +571,7 @@ def is_jupyter():
Returns:
(bool): True if running inside a Jupyter Notebook, False otherwise.
"""
return "get_ipython" in locals()
return "get_ipython" in globals()
def is_docker() -> bool:

Loading…
Cancel
Save