Skip to content

Commit 1b9994c

Browse files
authored
Merge pull request #36 from risha-vijayvargiya-22/ai-gsutil-migration-cf1212dcbb1247f1a36d208f3958f41d
chore: Migrate gsutil usage to gcloud storage
2 parents 54afcc3 + 203ffb8 commit 1b9994c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

street_view_insights/notebooks/Supervised fine tuning/Supervised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"BUCKET_URI = f\"gs://{BUCKET_NAME}\"\n",
9494
"\n",
9595
"# Create the bucket if it doesn't exist\n",
96-
"!gsutil ls -b {BUCKET_URI} || gsutil mb -l {LOCATION} -p {PROJECT_ID} {BUCKET_URI}"
96+
"!gcloud storage ls --buckets {BUCKET_URI} || gcloud storage buckets create --location {LOCATION} --project {PROJECT_ID} {BUCKET_URI}"
9797
]
9898
},
9999
{
@@ -105,7 +105,7 @@
105105
"outputs": [],
106106
"source": [
107107
"# Upload the training data to your bucket\n",
108-
"!gsutil cp \"/Users/sarthakgy/Desktop/insights-samples/imagery_insights/notebooks/Supervised fine tuning/data/acquity_detector_negative_examples_v2.jsonl\" {BUCKET_URI}/data/"
108+
"!gcloud storage cp \"/Users/sarthakgy/Desktop/insights-samples/imagery_insights/notebooks/Supervised fine tuning/data/acquity_detector_negative_examples_v2.jsonl\" {BUCKET_URI}/data/"
109109
]
110110
},
111111
{

0 commit comments

Comments
 (0)