Compare commits

...
Author SHA1 Message Date
Andrew Ferlitsch 5fa9541bd5 fix: check if passes 9 2023-06-22 18:08:34 +00:00
@@ -166,13 +166,12 @@
"outputs": [],
"source": [
"# Install the packages\n",
"USER=''\n",
"! pip3 install {USER} --upgrade google-cloud-aiplatform \\\n",
" 'google-cloud-pipeline-components<2'\n",
"! pip3 install {USER} tensorflow==2.5 \\\n",
" tensorflow_hub\n",
"! pip3 install --quiet --upgrade google-cloud-aiplatform \\\n",
" 'google-cloud-pipeline-components<2'\n",
"! pip3 install --quiet tensorflow==2.5 \\\n",
" tensorflow_hub\n",
"\n",
"! pip3 install {USER} --upgrade 'kfp<2'"
"! pip3 install--quiet --upgrade 'kfp<2'"
]
},
{
@@ -328,10 +327,8 @@
},
"outputs": [],
"source": [
"IS_COLAB = False\n",
"# from google.colab import auth\n",
"# auth.authenticate_user()\n",
"# IS_COLAB = True"
"# auth.authenticate_user()"
]
},
{
@@ -383,7 +380,7 @@
},
"outputs": [],
"source": [
"! gsutil mb -l $REGION -p $PROJECT_ID $BUCKET_URI"
"! gsutil mb -l {REGION} -p {PROJECT_ID} {BUCKET_URI}"
]
},
{
@@ -418,6 +415,9 @@
},
"outputs": [],
"source": [
"import sys\n",
"\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
"if (\n",
" SERVICE_ACCOUNT == \"\"\n",
" or SERVICE_ACCOUNT is None\n",