Lhumpal commited on
Commit
bd7bff2
·
verified ·
1 Parent(s): 00a8334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -137,6 +137,10 @@ async def chat(request: ChatRequest):
137
  contents=request.chat_history,
138
  config=GenerateContentConfig(
139
  system_instruction=[request.system_message]
 
 
 
 
140
  ),
141
  )
142
 
 
137
  contents=request.chat_history,
138
  config=GenerateContentConfig(
139
  system_instruction=[request.system_message]
140
+ generation_config={
141
+ "temperature": 0.7,
142
+ "max_output_tokens": 256, # Set your desired maximum output tokens here
143
+ },
144
  ),
145
  )
146