Rahatara commited on
Commit
441819a
·
verified ·
1 Parent(s): dd51152

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from google.generativeai.types import HarmBlockThreshold, HarmCategory
8
  # Configure Google API Key and model
9
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
10
  genai.configure(api_key=GOOGLE_API_KEY)
11
- model = genai.GenerativeModel("gemini-1.5-pro-latest")
12
 
13
  # Safety and instruction settings
14
  safety_settings = {
 
8
  # Configure Google API Key and model
9
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
10
  genai.configure(api_key=GOOGLE_API_KEY)
11
+ model = genai.GenerativeModel("gemini-1.5-pro-002")
12
 
13
  # Safety and instruction settings
14
  safety_settings = {