Skip to content

Commit d5532fe

Browse files
authored
Update image understanding model (#10115)
Update the model used in the image understanding code snippet
1 parent 65a6639 commit d5532fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

genai/snippets/src/main/java/genai/gemini/GenerateContentWithTextAndImage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class GenerateContentWithTextAndImage {
2828

2929
public static void main(String[] args) {
3030
// TODO(developer): Replace these variables before running the sample.
31-
String modelId = "gemini-2.0-flash";
31+
String modelId = "gemini-2.5-flash";
3232
generateContent(modelId);
3333
}
3434

0 commit comments

Comments
 (0)