alanchen1115 commited on
Commit
2a875ff
·
verified ·
1 Parent(s): 12606c3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -97,7 +97,7 @@ def handle_message(event):
97
  prompt = event.message.text
98
  # Combine the PDF contents and the new prompt into a single list for the 'contents' argument
99
  completion = client.models.generate_content(
100
- model="gemini-2.5-flash",
101
  contents=[pdf_content, prompt],
102
  config=generation_config).text
103
  # 檢查生成結果是否為空
 
97
  prompt = event.message.text
98
  # Combine the PDF contents and the new prompt into a single list for the 'contents' argument
99
  completion = client.models.generate_content(
100
+ model="gemini-2.0-flash",
101
  contents=[pdf_content, prompt],
102
  config=generation_config).text
103
  # 檢查生成結果是否為空