sami606713 commited on
Commit
08a6cbf
·
verified ·
1 Parent(s): 586b84a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def summerize_text(text):
36
  text=process_text(text)
37
  # tokenize the text
38
  tokenizer=load_tokenizer()
39
- inputs = tokenizer(test_report, max_length=1000, truncation=True, padding='max_length', return_tensors='pt')
40
 
41
  # Generate the output idx
42
  model=load_model()
 
36
  text=process_text(text)
37
  # tokenize the text
38
  tokenizer=load_tokenizer()
39
+ inputs = tokenizer(text, max_length=1000, truncation=True, padding='max_length', return_tensors='pt')
40
 
41
  # Generate the output idx
42
  model=load_model()