luojunhui 1 tháng trước cách đây
mục cha
commit
8a0bee0802
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      applications/api/google_ai_api.py

+ 1 - 4
applications/api/google_ai_api.py

@@ -62,15 +62,12 @@ class GoogleAIAPI(object):
         video_file: <class 'google.genai.types.File'>
         """
         response = self.client.models.generate_content(
-            model='gemini-2.0-flash',
+            model='gemini-1.5-flash',
             contents=[
                 video_file,
                 prompt
             ]
         )
-        print(response)
-        print(response.content)
-        print(response.text)
         return response.text
 
     def delete_video(self, file_name: str):