check_font() on notebook init (#9200)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-08-29 15:12:15 +02:00
1 parent f65081c436
commit fef1913d28
1 file changed
+3 -1
+3 -1
View File
@@ -38,10 +38,12 @@ def notebook_init(verbose=True):
import os
import shutil
from utils.general import check_requirements, emojis, is_colab
from utils.general import check_font, check_requirements, emojis, is_colab
from utils.torch_utils import select_device # imports
check_requirements(('psutil', 'IPython'))
check_font()
import psutil
from IPython import display # to display images and clear console output