Skip to content

Commit 2dd3bc1

Browse files
Addressed gemini bot comments
1 parent 944f6b2 commit 2dd3bc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

model-armor/snippets/screenPdfFile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ async function main(projectId, locationId, templateId, pdfContentBase64) {
2727
/**
2828
* TODO(developer): Uncomment these variables before running the sample.
2929
*/
30-
// const projectId = 'your-project-id';
31-
// const locationId = 'us-central1';
32-
// const templateId = 'template-id';
33-
// const pdfContentBase64 = 'BASE64_ENCODED_PDF_CONTENT';
30+
// const projectId = process.env.PROJECT_ID || 'your-project-id';
31+
// const locationId = process.env.LOCATION_ID || 'us-central1';
32+
// const templateId = process.env.TEMPLATE_ID || 'template-id';
33+
// const pdfContentBase64 = process.env.PDF_CONTENT_BASE64 || 'BASE64_ENCODED_PDF_CONTENT';
3434

3535
// Imports the Model Armor library
3636
const modelarmor = require('@google-cloud/modelarmor');

0 commit comments

Comments
 (0)