Skip to content

Commit f13d71d

Browse files
jaycee-licopybara-github
authored andcommitted
chore: Rename resources directory in examples to follow maven convention
PiperOrigin-RevId: 760739111
1 parent 7cb2fb1 commit f13d71d

14 files changed

Lines changed: 9 additions & 9 deletions
File renamed without changes.

examples/src/main/java/com/google/genai/examples/EditImageAsync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static void main(String[] args) throws IOException, HttpException {
7575

7676
// Base image created using generateImages with prompt:
7777
// "An umbrella in the foreground, and a rainy night sky in the background"
78-
Image image = Image.fromFile("./data/umbrella.jpg");
78+
Image image = Image.fromFile("./resources/umbrella.jpg");
7979

8080
// Edit image with a mask.
8181
EditImageConfig editImageConfig =

examples/src/main/java/com/google/genai/examples/EditImageControlReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void main(String[] args) {
7272

7373
// Base image created using generateImages with prompt:
7474
// "A square, circle, and triangle with a white background"
75-
Image image = Image.fromFile("./data/shapes.jpg");
75+
Image image = Image.fromFile("./resources/shapes.jpg");
7676

7777
// Control reference.
7878
EditImageConfig editImageConfig =

examples/src/main/java/com/google/genai/examples/EditImageMaskReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static void main(String[] args) {
7474

7575
// Base image created using generateImages with prompt:
7676
// "An umbrella in the foreground, and a rainy night sky in the background"
77-
Image image = Image.fromFile("./data/umbrella.jpg");
77+
Image image = Image.fromFile("./resources/umbrella.jpg");
7878

7979
// Edit image with a mask.
8080
EditImageConfig editImageConfig =

examples/src/main/java/com/google/genai/examples/EditImageStyleTransfer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static void main(String[] args) {
7171

7272
// Base image created using generateImages with prompt:
7373
// "A starry night sky painted with watercolors"
74-
Image image = Image.fromFile("./data/watercolor_night_sky.jpg");
74+
Image image = Image.fromFile("./resources/watercolor_night_sky.jpg");
7575

7676
// Style transfer.
7777
EditImageConfig editImageConfig =

examples/src/main/java/com/google/genai/examples/EditImageSubjectReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void main(String[] args) {
7272

7373
// Base image created using generateImages with prompt:
7474
// "A logo with the letters 'SERN' in a futuristic font with a white background"
75-
Image image = Image.fromFile("./data/logo.jpg");
75+
Image image = Image.fromFile("./resources/logo.jpg");
7676

7777
// Subject reference.
7878
EditImageConfig editImageConfig =

0 commit comments

Comments
 (0)