File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
'use strict' ;
16
16
17
+ // [START generativeaionvertexai_gemma2_predict_gpu]
17
18
async function gemma2PredictGpu ( predictionServiceClient ) {
18
- // [START generativeaionvertexai_gemma2_predict_gpu]
19
19
// Imports the Google Cloud Prediction Service Client library
20
20
const {
21
21
// TODO(developer): Uncomment PredictionServiceClient before running the sample.
@@ -62,7 +62,6 @@ async function gemma2PredictGpu(predictionServiceClient) {
62
62
const text = predictions [ 0 ] . stringValue ;
63
63
64
64
console . log ( 'Predictions:' , text ) ;
65
- // [END generativeaionvertexai_gemma2_predict_gpu]
66
65
return text ;
67
66
}
68
67
@@ -73,3 +72,4 @@ module.exports = gemma2PredictGpu;
73
72
// console.error(err.message);
74
73
// process.exitCode = 1;
75
74
// });
75
+ // [END generativeaionvertexai_gemma2_predict_gpu]
You can’t perform that action at this time.
0 commit comments