stevafernandes commited on
Commit
f4203be
·
verified ·
1 Parent(s): f8a1e2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -181,7 +181,7 @@ def gemini_reply(client, convo, n_followups):
181
  cfg = types.GenerateContentConfig(
182
  system_instruction=system_instruction() + extra,
183
  temperature=0.7,
184
- max_output_tokens=600,
185
  )
186
  resp = client.models.generate_content(model=MODEL, contents=contents, config=cfg)
187
  return (resp.text or "").strip()
@@ -480,4 +480,4 @@ with gr.Blocks(title="P3 Myeloma Follow-up Chatbot", css=CSS,
480
  )
481
 
482
  if __name__ == "__main__":
483
- demo.launch()
 
181
  cfg = types.GenerateContentConfig(
182
  system_instruction=system_instruction() + extra,
183
  temperature=0.7,
184
+ max_output_tokens=2048,
185
  )
186
  resp = client.models.generate_content(model=MODEL, contents=contents, config=cfg)
187
  return (resp.text or "").strip()
 
480
  )
481
 
482
  if __name__ == "__main__":
483
+ demo.launch()