From 2e181d6f575abda12375d59e16d2d93e06700fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Thu, 24 Oct 2024 13:37:59 -0500 Subject: [PATCH] use a bucket name that more clearly shows the user must replace it (#197) Fixes internal issue 372853854 --- .../R/src/caret/serving/model_prediction.R | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tutorials/R/src/caret/serving/model_prediction.R b/tutorials/R/src/caret/serving/model_prediction.R index b6a7e878..e5093fd3 100644 --- a/tutorials/R/src/caret/serving/model_prediction.R +++ b/tutorials/R/src/caret/serving/model_prediction.R @@ -1,8 +1,22 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Set the project id -project_id <- "r-on-gcp" +project_id <- "your-project-id" # Set yout GCS bucket -bucket <- "r_on_gcp" +bucket <- "your_bucket_id" model_name <- 'caret_babyweight_estimator' model_dir <- paste0('models/', model_name)