nickmuchi commited on
Commit
6a1d689
1 Parent(s): 93ef2af

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +2 -2
functions.py CHANGED
@@ -93,9 +93,9 @@ def summarize_text(text_to_summarize,max_len,min_len):
93
  repetition_penalty=3.5,
94
  num_beams=4,
95
  early_stopping=True)
96
- summarized_text = ' '.join([summ['summary_text'] for summ in summarized_text])
97
 
98
- return summarized_text
99
 
100
  @st.experimental_memo(suppress_st_warning=True)
101
  def clean_text(text):
 
93
  repetition_penalty=3.5,
94
  num_beams=4,
95
  early_stopping=True)
96
+ summarized_text = ' '.join([summ['summary_text'] for summ in summarized_text])
97
 
98
+ return summarized_text
99
 
100
  @st.experimental_memo(suppress_st_warning=True)
101
  def clean_text(text):