chansung commited on
Commit
6e0c0c0
β€’
1 Parent(s): f46ecbb

Update gen/gemini.py

Browse files
Files changed (1) hide show
  1. gen/gemini.py +2 -2
gen/gemini.py CHANGED
@@ -10,9 +10,9 @@ from gen.utils import parse_first_json_snippet
10
 
11
  def determine_model_name(given_image=None):
12
  if given_image is None:
13
- return "gemini-pro"
14
  else:
15
- return "gemini-pro-vision"
16
 
17
  def construct_image_part(given_image):
18
  return {
 
10
 
11
  def determine_model_name(given_image=None):
12
  if given_image is None:
13
+ return "gemini-1.0-pro"
14
  else:
15
+ return "gemini-1.0-pro-vision"
16
 
17
  def construct_image_part(given_image):
18
  return {