khang119966 commited on
Commit
7c66d36
·
verified ·
1 Parent(s): 9edceb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,7 +251,7 @@ We currently only support one image at the start of the context! Please start a
251
  yield generated_text_without_prompt
252
  else:
253
  ####################################################### thinking #######################################################
254
- generation_config = dict(max_new_tokens= 2000, do_sample=False, num_beams = 2, repetition_penalty=2.5)
255
 
256
  if len(history) == 0:
257
  if pixel_values is not None:
 
251
  yield generated_text_without_prompt
252
  else:
253
  ####################################################### thinking #######################################################
254
+ generation_config = dict(max_new_tokens= 2000, do_sample=True, num_beams = 2, repetition_penalty=2.5, temperature=0.5)
255
 
256
  if len(history) == 0:
257
  if pixel_values is not None: