Rthur2003 commited on
Commit
ac7b4f5
·
1 Parent(s): 93f9247

refactor: Update model version in Gemini AI Service for improved performance

Browse files
app/routes/commend/gemini_service.py CHANGED
@@ -3,7 +3,7 @@
3
  from __future__ import annotations
4
 
5
  import os
6
- from typing import Optional, Tuple, List, Dict, Any
7
 
8
  from google import genai
9
 
@@ -97,7 +97,7 @@ Rules: 1-2 sentences, natural, specific to video, max 1 emoji.
97
  Comment:"""
98
 
99
  response = client.models.generate_content(
100
- model="gemma-3-27b",
101
  contents=prompt
102
  )
103
 
 
3
  from __future__ import annotations
4
 
5
  import os
6
+ from typing import Any, Dict, List, Optional, Tuple
7
 
8
  from google import genai
9
 
 
97
  Comment:"""
98
 
99
  response = client.models.generate_content(
100
+ model="gemini-2.5-flash-lite",
101
  contents=prompt
102
  )
103