Wall06 commited on
Commit
f931a89
·
verified ·
1 Parent(s): aaf704f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. ai_engine.py +1 -1
ai_engine.py CHANGED
@@ -7,7 +7,7 @@ genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
7
 
8
  # Initialize the model (using the standard gemini-pro which is universally supported)
9
  model = genai.GenerativeModel(
10
- model_name='gemini-1.5-flash-latest',
11
  generation_config={"response_mime_type": "application/json"} # Forces perfect JSON!
12
  )
13
 
 
7
 
8
  # Initialize the model (using the standard gemini-pro which is universally supported)
9
  model = genai.GenerativeModel(
10
+ model_name='gemini-pro',
11
  generation_config={"response_mime_type": "application/json"} # Forces perfect JSON!
12
  )
13