Syrinx commited on
Commit
e195261
1 Parent(s): ec83c3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def generate_description(title):
37
  # Generate the output using the model
38
  output = model.generate(
39
  input_ids=input_ids,
40
- max_length=256,
41
  num_beams=4,
42
  early_stopping=True,
43
  no_repeat_ngram_size=2
 
37
  # Generate the output using the model
38
  output = model.generate(
39
  input_ids=input_ids,
40
+ max_length=200,
41
  num_beams=4,
42
  early_stopping=True,
43
  no_repeat_ngram_size=2