asalhi85 commited on
Commit
cc37716
1 Parent(s): 117c1fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,7 +132,7 @@ def bot(
132
  response = model.generate_content(
133
  prompt,
134
  stream=True,
135
- generation_config=generation_config,afety_settings=afety_settings)
136
  response.resolve()
137
 
138
  # out1 = response.text
@@ -150,7 +150,7 @@ def bot(
150
  response = model.generate_content(
151
  contents=[text_prompt, image_prompt],
152
  stream=True,
153
- generation_config=generation_config, afety_settings=afety_settings)
154
  response.resolve()
155
 
156
  # streaming effect
 
132
  response = model.generate_content(
133
  prompt,
134
  stream=True,
135
+ generation_config=generation_config,afety_settings=safety_settings)
136
  response.resolve()
137
 
138
  # out1 = response.text
 
150
  response = model.generate_content(
151
  contents=[text_prompt, image_prompt],
152
  stream=True,
153
+ generation_config=generation_config, afety_settings=safety_settings)
154
  response.resolve()
155
 
156
  # streaming effect