jujutechnology commited on
Commit
9125ce9
·
verified ·
1 Parent(s): 315998d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def generate_math_visual(user_prompt, ai_response):
64
  Make it suitable for a math student to understand the concept better."""
65
 
66
  # Configure the image generation model
67
- image_model = genai.GenerativeModel("gemini-2.0-flash-image-preview")
68
 
69
  response = image_model.generate_content(
70
  visual_prompt,
 
64
  Make it suitable for a math student to understand the concept better."""
65
 
66
  # Configure the image generation model
67
+ image_model = genai.GenerativeModel("gemini-2.0-flash-preview-image-generation")
68
 
69
  response = image_model.generate_content(
70
  visual_prompt,