import sys
sys.path.insert(0,'/dltk/.jupyter')

def post_save(model, os_path, contents_manager):
    import jupyter_notebook_conversion
    jupyter_notebook_conversion.convert(model, os_path)


c.FileContentsManager.post_save_hook = post_save

# TODO change PW to your own secret
# generate your own PW in python:
# from notebook.auth import passwd
# passwd()
c.NotebookApp.password = '<PASSWORD>'
# "Splunk4DeepLearning"

import sys
sys.path.insert(0,'/dltk/.jupyter')

def post_save(model, os_path, contents_manager):
    import jupyter_notebook_conversion
    jupyter_notebook_conversion.convert(model, os_path)


c.FileContentsManager.post_save_hook = post_save

# TODO change PW to your own secret
# generate your own PW in python:
# from notebook.auth import passwd
# passwd()
c.NotebookApp.password = '<PASSWORD>'
# "Splunk4DeepLearning"

# TODO change PW to your own secret # generate your own PW in python: # from notebook.auth import passwd # passwd() # "Splunk4DeepLearning"