Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 0 additions & 86 deletions ai-platform/snippets/imagen-verify-image-watermark.js

This file was deleted.

8 changes: 1 addition & 7 deletions ai-platform/snippets/test/imagen.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const cp = require('child_process');
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
const cwd = path.join(__dirname, '..');

describe('AI platform generate and edit an image using Imagen and check for a watermark', () => {
describe('AI platform generate and edit an image using Imagen', () => {
it('should generate an image', async () => {
const stdout = execSync('node ./imagen-generate-image.js', {
cwd,
Expand All @@ -37,12 +37,6 @@ describe('AI platform generate and edit an image using Imagen and check for a wa
});
assert.match(stdout, /Saved image output1.png/);
});
it('should verify that an image contains a watermark', async () => {
const stdout = execSync('node ./imagen-verify-image-watermark.js', {
cwd,
});
assert.match(stdout, /ACCEPT/);
});
});

describe('AI platform edit image using Imagen inpainting and outpainting', () => {
Expand Down
Loading