ultralytics 8.3.18 fix is_jupyter() to globals() (#17023)
This commit is contained in:
parent
b5f1a70974
commit
92cc8b8b52
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue