fffiloni commited on
Commit
9a116fc
·
verified ·
1 Parent(s): ab72992

increase response length

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ def gradio_answer(speech, text_input, num_beams, temperature, top_p):
62
  num_beams=num_beams,
63
  temperature=temperature,
64
  top_p=top_p,
 
65
  )
66
 
67
  return llm_message[0]
 
62
  num_beams=num_beams,
63
  temperature=temperature,
64
  top_p=top_p,
65
+ max_length=300
66
  )
67
 
68
  return llm_message[0]