syurein commited on
Commit
c2e61ba
·
1 Parent(s): 890ea7e

性能向上

Browse files
Files changed (1) hide show
  1. LLM_package.py +1 -1
LLM_package.py CHANGED
@@ -21,7 +21,7 @@ class GeminiInference:
21
  client = genai.Client(api_key=self.api_key_source)
22
  my_file = client.files.upload(file=file_path)
23
  response = client.models.generate_content(
24
- model="gemini-2.5-peo",
25
  contents=[my_file, prompt],
26
  )
27
  return response.text
 
21
  client = genai.Client(api_key=self.api_key_source)
22
  my_file = client.files.upload(file=file_path)
23
  response = client.models.generate_content(
24
+ model="gemini-2.5-pro",
25
  contents=[my_file, prompt],
26
  )
27
  return response.text