1inkusFace commited on
Commit
ee4f61b
·
verified ·
1 Parent(s): 2069f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -348,7 +348,7 @@ def captioning(img, prompt_1,prompt_2,prompt_3,prompt_4,prompt_5):
348
  **inputf,
349
  do_sample=True,
350
  num_beams=1,
351
- max_length=96,
352
  min_length=64,
353
  top_p=0.1,
354
  repetition_penalty=1.0,
 
348
  **inputf,
349
  do_sample=True,
350
  num_beams=1,
351
+ max_length=384,
352
  min_length=64,
353
  top_p=0.1,
354
  repetition_penalty=1.0,