syedMohib44 commited on
Commit
e37090a
·
verified ·
1 Parent(s): b477983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def faq(question: str):
221
  with torch.no_grad():
222
  output = model.generate(
223
  **inputs,
224
- max_length=256,
225
  repetition_penalty=1.3,
226
  no_repeat_ngram_size=4,
227
  temperature=0.7,
 
221
  with torch.no_grad():
222
  output = model.generate(
223
  **inputs,
224
+ max_length=512,
225
  repetition_penalty=1.3,
226
  no_repeat_ngram_size=4,
227
  temperature=0.7,