Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
"\n",
"# 1. Retrieve Secrets\n",
"try:\n",
" GCP_PROJECT_ID = userdata.get('GCP_PROJECT_ID')\n",
" GMP_API_KEY = userdata.get('GMP_API_KEY')\n",
" GCP_PROJECT_ID = userdata.get('GCP_PROJECT_ID').strip()\n",
" GMP_API_KEY = userdata.get('GMP_API_KEY').strip()\n",
" print(f\"✅ Secrets retrieved for project: {GCP_PROJECT_ID}\")\n",
"except userdata.SecretNotFoundError as e:\n",
" raise ValueError(\"Missing Secrets! Please add 'GCP_PROJECT' and 'GMP_API_KEY' to Colab Secrets.\") from e\n",
Expand Down Expand Up @@ -474,7 +474,6 @@
")\n",
"\n",
"# 3. Create Custom Legend HTML\n",
"# Positioned at Bottom-Right to avoid the Google Logo at Bottom-Left.\n",
"legend_html = '''\n",
" <div style=\"position: fixed; bottom: 50px; right: 50px; width: 180px; height: 110px;\n",
" border:2px solid grey; z-index:9999; font-size:14px; background-color:white; opacity:0.9; padding: 10px; font-family: sans-serif;\">\n",
Expand Down