From 579612d948643c4d8c5d365e9b292237eb1c792d Mon Sep 17 00:00:00 2001 From: Sai Vikas Devisetty <55257381+devisettysaivikas@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:01:25 -0500 Subject: [PATCH] Update on-start.sh specify an output format and update available Environment. --- scripts/execute-notebook-on-startup/on-start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/execute-notebook-on-startup/on-start.sh b/scripts/execute-notebook-on-startup/on-start.sh index 7fba3a6..89012dd 100644 --- a/scripts/execute-notebook-on-startup/on-start.sh +++ b/scripts/execute-notebook-on-startup/on-start.sh @@ -7,11 +7,11 @@ set -e # PARAMETERS -ENVIRONMENT=pytorch_p36 +ENVIRONMENT=JupyterSystemEnv NOTEBOOK_FILE=/home/ec2-user/SageMaker/MyNotebook.ipynb source /home/ec2-user/anaconda3/bin/activate "$ENVIRONMENT" -jupyter nbconvert "$NOTEBOOK_FILE" --ExecutePreprocessor.kernel_name=python --execute +jupyter nbconvert --ExecutePreprocessor.kernel_name=python --to notebook --execute "$NOTEBOOK_FILE" -source /home/ec2-user/anaconda3/bin/deactivate \ No newline at end of file +source /home/ec2-user/anaconda3/bin/deactivate