arithescientist commited on
Commit
132254a
·
1 Parent(s): cf3e244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,9 +68,9 @@ def pdf(file):
68
 
69
  summary = bert_legal_model(text, min_length = 8, ratio = 0.05)
70
  # summary = tokenizer_t5.decode(summary_ids[0], skip_special_tokens=True)
71
- summary_text += str(summary) + "\n\n"
72
- print("Summary:")
73
- print(summary)
74
 
75
  content2 = content.replace('\n',' ')
76
  content2 = content2.replace('\t','')
 
68
 
69
  summary = bert_legal_model(text, min_length = 8, ratio = 0.05)
70
  # summary = tokenizer_t5.decode(summary_ids[0], skip_special_tokens=True)
71
+ summary_text += str(summary) + "\n\n"
72
+ print("Summary:")
73
+ print(summary)
74
 
75
  content2 = content.replace('\n',' ')
76
  content2 = content2.replace('\t','')