1inkusFace commited on
Commit
0201132
·
verified ·
1 Parent(s): bc256b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -295,8 +295,8 @@ def captioning(img):
295
  **inputsb,
296
  do_sample=True,
297
  num_beams=1,
298
- max_length=16,
299
- min_length=12,
300
  top_p=0.9,
301
  repetition_penalty=1.0,
302
  length_penalty=2.0,
 
295
  **inputsb,
296
  do_sample=True,
297
  num_beams=1,
298
+ max_length=42,
299
+ min_length=40,
300
  top_p=0.9,
301
  repetition_penalty=1.0,
302
  length_penalty=2.0,