Update notebooks to no-code/low-code (#2874)

This commit is contained in:
xcchen1
2024-04-10 03:46:16 +00:00
committed by GitHub
parent 15546cc1c0
commit 9f896a2138
2 changed files with 4 additions and 4 deletions
@@ -31,9 +31,9 @@
"source": [
"# Vertex AI Model Garden - Stable Diffusion Inpainting\n",
"\n",
"<table align=\"left\">\n",
"<table align=\"left\"><tbody><tr>\n",
" <td>\n",
" <a href=\"https://console.cloud.google.com/vertex-ai/colab/import/https:%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fcommunity%2Fmodel_garden_pytorch_stable_diffusion_inpainting.ipynb\">\n",
" <a href=\"https://console.cloud.google.com/vertex-ai/colab/import/https:%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fcommunity%2Fmodel_garden%2Fmodel_garden_pytorch_stable_diffusion_inpainting.ipynb\">\n",
" <img alt=\"Google Cloud Colab Enterprise logo\" src=\"https://lh3.googleusercontent.com/JmcxdQi-qOpctIvWKgPtrzZdJJK-J3sWE1RsfjZNwshCFgE_9fULcNpuXYTilIR2hjwN\" width=\"32px\"><br> Run in Colab Enterprise\n",
" </a>\n",
" </td>\n",
@@ -43,7 +43,7 @@
" View on GitHub\n",
" </a>\n",
" </td>\n",
"</table>"
"</tr></tbody></table>"
]
},
{
@@ -278,7 +278,7 @@
"\n",
" target = f\"{destination_folder}/{file_name}\"\n",
"\n",
" !gdown --fuzzy -O $target \"$url\"\n",
" !gdown --fuzzy -O $target \"$lora_source\"\n",
" upload_local_dir_to_gcs(\"/tmp/custom-lora\", f\"{BUCKET_URI}/custom-lora\")\n",
" lora_id = f\"{BUCKET_URI}/custom-lora\"\n",
"else:\n",