irfan4108 commited on
Commit
70e7cfd
·
verified ·
1 Parent(s): c336d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
13
 
14
  ## Function to load OpenAI model and get response
15
  def get_gemini_response(input, image):
16
- model = genai.GenerativeModel('gemini-1.5-pro')
17
  if input != "":
18
  response = model.generate_content([input, image])
19
  else:
 
13
 
14
  ## Function to load OpenAI model and get response
15
  def get_gemini_response(input, image):
16
+ model = genai.GenerativeModel('gemini-1.5-flash')
17
  if input != "":
18
  response = model.generate_content([input, image])
19
  else: