alanchen1115 commited on
Commit
8a9ff95
·
verified ·
1 Parent(s): 5aa4196

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -95,9 +95,9 @@ def handle_message(event):
95
  try:
96
  # 取得使用者輸入的文字
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=prompt,
102
  config=generation_config).text
103
  # 檢查生成結果是否為空
 
95
  try:
96
  # 取得使用者輸入的文字
97
  prompt = event.message.text
98
+ # gemini-2.5-flash
99
  completion = client.models.generate_content(
100
+ model="gemini-2.5-flash",
101
  contents=prompt,
102
  config=generation_config).text
103
  # 檢查生成結果是否為空