jarvisfriday commited on
Commit
db8210a
·
verified ·
1 Parent(s): d4b571b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ if generate_button and (prompt or uploaded_file):
146
  contents=contents,
147
  config=types.GenerateContentConfig(
148
  response_modalities=["Text","Image"], # Request both just in case, though primarily want Image
149
- # safety_settings = safety_settings,
150
  # system_instruction=system_instruction, # Keeping commented out as per original code
151
  ),
152
  )
 
146
  contents=contents,
147
  config=types.GenerateContentConfig(
148
  response_modalities=["Text","Image"], # Request both just in case, though primarily want Image
149
+ safety_settings = safety_settings,
150
  # system_instruction=system_instruction, # Keeping commented out as per original code
151
  ),
152
  )