johnbradley commited on
Commit
c7653b4
·
verified ·
1 Parent(s): cc4ebd8

Set temp to 0

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -84,6 +84,7 @@ def generate_content_str(api_key, prompt, pil_image, tries=PROMPT_RETRYIES):
84
  try:
85
  response = client.models.generate_content(
86
  model="gemini-2.5-flash-preview-05-20",
 
87
  contents=[prompt, pil_image],
88
  config=generate_content_config,
89
  )
 
84
  try:
85
  response = client.models.generate_content(
86
  model="gemini-2.5-flash-preview-05-20",
87
+ temperature=0.0,
88
  contents=[prompt, pil_image],
89
  config=generate_content_config,
90
  )