diff --git a/places_insights/notebooks/custom_location_scores/places_insights_custom_location_scores.ipynb b/places_insights/notebooks/custom_location_scores/places_insights_custom_location_scores.ipynb index 0b203cd..4ec4b28 100644 --- a/places_insights/notebooks/custom_location_scores/places_insights_custom_location_scores.ipynb +++ b/places_insights/notebooks/custom_location_scores/places_insights_custom_location_scores.ipynb @@ -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", @@ -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", "
\n",