Spaces:
Runtime error
Runtime error
File size: 460 Bytes
db5855f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import os
c.KernelGatewayApp.ip = "*"
c.KernelGatewayApp.port = 8080
c.KernelGatewayApp.env_process_whitelist = [
"LD_LIBRARY_PATH",
"LD_PRELOAD",
"NSS_WRAPPER_PASSWD",
"NSS_WRAPPER_GROUP",
]
image_config_file = "/opt/app-root/src/.jupyter/jupyter_kernel_gateway_config.py"
if os.path.exists(image_config_file):
with open(image_config_file) as fp:
exec(compile(fp.read(), image_config_file, "exec"), globals())
|