diff --git a/Getting Started: Create and Manage Cloud Resources: Challenge b/Getting Started: Create and Manage Cloud Resources: Challenge index 5ecf392..f192067 100644 --- a/Getting Started: Create and Manage Cloud Resources: Challenge +++ b/Getting Started: Create and Manage Cloud Resources: Challenge @@ -28,12 +28,12 @@ Step 3:kubectl get pods Step 4:cat << EOF > startup.sh - #! /bin/bash - apt-get update - apt-get install -y nginx - service nginx start - sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html - EOF +#! /bin/bash +apt-get update +apt-get install -y nginx +service nginx start +sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html +EOF Step 5:gcloud compute instance-templates create web-server-template \ --metadata-from-file startup-script=startup.sh \ diff --git a/Integrate with Machine Learning APIs: Challenge Lab b/Integrate with Machine Learning APIs: Challenge Lab index 1c7bee1..2c53bd6 100644 --- a/Integrate with Machine Learning APIs: Challenge Lab +++ b/Integrate with Machine Learning APIs: Challenge Lab @@ -1,6 +1,6 @@ #WATCH FULL LAB ON : https://www.youtube.com/watch?v=ZZBt6geViXc -python3 analyze-images.py $DEVSHELL_PROJECT_ID $DEVSHELL_PROJECT_ID +python analyze-images.py $DEVSHELL_PROJECT_ID $DEVSHELL_PROJECT_ID SELECT locale,COUNT(locale) as lcount FROM image_classification_dataset.image_text_detail GROUP BY locale ORDER BY lcount DESC