fix: Updated SAVED_MODEL_PATH and comment
"# Get a list of directories in the `keras_export` parent directory\n",
"KERAS_EXPORT_DIRS = ! gsutil ls $JOB_DIR/keras_export/\n",
"\n",
- "# Pick the directory with the latest timestamp, in case you've trained\n",
+ "# Update the directory as needed, in case you've trained\n",
"# multiple times\n",
- "SAVED_MODEL_PATH = KERAS_EXPORT_DIRS[-1]\n",
+ "SAVED_MODEL_PATH = keras_export\n",
"\n",
"# Create model version based on that SavedModel directory\n",
"! gcloud ai-platform versions create $MODEL_VERSION \\\n",
