본문 바로가기

AI

jupyter_notebook_config.py

반응형

import os
from IPython.lib import passwd

c.NotebookApp.ip = '*'
c.NotebookApp.port = int(os.getenv('PORT', 8888))
c.NotebookApp.open_browser = False
c.MultiKernelManager.default_kernel_name = 'python3'

# sets a password if PASSWORD is set in the environment
if 'PASSWORD' in os.environ:
  c.NotebookApp.password = passwd(os.environ['PASSWORD'])
  del os.environ['PASSWORD']

 

 

Docker dash00/tensorflow-python3-jupyter 의 jupyter_notebook_config.py 입니다.

 

반응형

'AI' 카테고리의 다른 글

windows 10 wsl2에서 podman 사용하기  (0) 2020.03.10
Tensor flow용 Dockerfile  (0) 2020.02.13
Docker jupyter notebook 한글 관련  (1) 2020.02.13
nupic 사용법  (0) 2019.03.14