Sibinraj commited on
Commit
a0e48a1
·
verified ·
1 Parent(s): 2df5cf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ tokenizer = T5Tokenizer.from_pretrained(model_path)
8
 
9
 
10
 
11
- def summarize_text(text):
12
  # Preprocess the text
13
  inputs = tokenizer.encode(
14
  "summarize: " + text,
 
8
 
9
 
10
 
11
+ def summarize_text(text,max_length_slider):
12
  # Preprocess the text
13
  inputs = tokenizer.encode(
14
  "summarize: " + text,