NKessler commited on
Commit
a9bc45d
·
verified ·
1 Parent(s): 31ee3d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
27
  if GEMINI_API_KEY:
28
  genai.configure(api_key=GEMINI_API_KEY)
29
 
30
- ai_model = genai.GenerativeModel('gemini-3-flash-preview')
31
 
32
  def _truncate_to_words(text: str, limit: int) -> str:
33
  """Truncates text by word count."""
 
27
  if GEMINI_API_KEY:
28
  genai.configure(api_key=GEMINI_API_KEY)
29
 
30
+ ai_model = genai.GenerativeModel('gemini-2.5-pro')
31
 
32
  def _truncate_to_words(text: str, limit: int) -> str:
33
  """Truncates text by word count."""