Skip to content

Commit

Permalink
ultralytics 8.3.18 fix is_jupyter() to globals() (ultralytics#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Oct 18, 2024
1 parent b5f1a70 commit 92cc8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ultralytics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license

__version__ = "8.3.17"
__version__ = "8.3.18"

import os

Expand Down
2 changes: 1 addition & 1 deletion ultralytics/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 92cc8b8

Please sign in to comment.