lalital commited on
Commit
484fc58
1 Parent(s): f1f90b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ css_text = """<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.
34
 
35
  # return '<div class="w3-container">' + html_text + '</div>'
36
 
37
- def summarize(input_text: str, model, tokenizer, num_beams=5) -> str:
38
 
39
  input_length = len(tokenizer.tokenize(input_text))
40
  inputs = tokenizer(input_text,
 
34
 
35
  # return '<div class="w3-container">' + html_text + '</div>'
36
 
37
+ def summarize(input_text: str, num_beams=5) -> str:
38
 
39
  input_length = len(tokenizer.tokenize(input_text))
40
  inputs = tokenizer(input_text,