Soooma commited on
Commit
82de340
·
1 Parent(s): 39b6238

minor change

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained("fabiochiu/t5-small-medium-title-g
9
 
10
  text = st.text_area('Enter an abstract to summerize, i.e. generate a title!')
11
 
 
12
 
13
  if text:
14
  inputs = ["summarize: " + text]
 
9
 
10
  text = st.text_area('Enter an abstract to summerize, i.e. generate a title!')
11
 
12
+ max_input_length = 512
13
 
14
  if text:
15
  inputs = ["summarize: " + text]