Skip to content

Commit

Permalink
check_font() on notebook init (#9200)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <[email protected]>

Signed-off-by: Glenn Jocher <[email protected]>
  • Loading branch information
glenn-jocher committed Aug 29, 2022
1 parent f65081c commit fef1913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fef1913

Please sign in to comment.