Ifeanyi commited on
Commit
8a7559b
1 Parent(s): 8183a7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ genai.configure(api_key="AIzaSyA7tPavobVN5_3-BJ0qhFT5HVjO4V19QWk")
8
  def ImageChat(image, prompt):
9
 
10
  # load model
11
- model = genai.GenerativeModel("gemini-pro-vision")
12
 
13
  # check image file and convert to a Numpy array
14
  if isinstance(image, np.ndarray):
 
8
  def ImageChat(image, prompt):
9
 
10
  # load model
11
+ model = genai.GenerativeModel("gemini-1.5-flash")
12
 
13
  # check image file and convert to a Numpy array
14
  if isinstance(image, np.ndarray):