madankn79 commited on
Commit
b7e9fc8
·
1 Parent(s): ce89b24
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def summarize_text(input_text, model_label, char_limit):
65
 
66
  summary_ids = model.generate(
67
  inputs["input_ids"],
68
- max_length=20, # Still approximate; can be tuned per model
69
  min_length=5,
70
  do_sample=False
71
  )
 
65
 
66
  summary_ids = model.generate(
67
  inputs["input_ids"],
68
+ max_length=15, # Still approximate; can be tuned per model
69
  min_length=5,
70
  do_sample=False
71
  )