alanchen1115 commited on
Commit
4c6afe1
·
verified ·
1 Parent(s): e17d66e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def invoke(question):
21
  try:
22
  response = client.models.generate_content(
23
  model="gemini-2.0-flash",
24
- contents=[sample_file, "請摘要說明"],
25
  config=genai.types.GenerateContentConfig(
26
  max_output_tokens=3000,
27
  temperature=0.3,)
 
21
  try:
22
  response = client.models.generate_content(
23
  model="gemini-2.0-flash",
24
+ contents=[sample_doc, "請摘要說明"],
25
  config=genai.types.GenerateContentConfig(
26
  max_output_tokens=3000,
27
  temperature=0.3,)