NKessler commited on
Commit
31fb8ae
·
verified ·
1 Parent(s): b928855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ GEMINI_API_KEY = st.secrets.get("GEMINI_API_KEY")
23
  if GEMINI_API_KEY:
24
  genai.configure(api_key=GEMINI_API_KEY)
25
 
26
- ai_model = genai.GenerativeModel('gemini-2.5-flash')
27
 
28
  def _truncate_to_words(text: str, limit: int) -> str:
29
  """Truncates text by word count."""
 
23
  if GEMINI_API_KEY:
24
  genai.configure(api_key=GEMINI_API_KEY)
25
 
26
+ ai_model = genai.GenerativeModel('gemini-3.1-flash-lite-preview')
27
 
28
  def _truncate_to_words(text: str, limit: int) -> str:
29
  """Truncates text by word count."""