Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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:
|