JCRios commited on
Commit
e2a5c63
·
verified ·
1 Parent(s): 0d95fbf

Remove author of the results

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def summarize_pdf(pdf_file):
33
  text = [utils.drop_non_relevant_text(utils.preprocess_text(x)) for x in text]
34
  text = [' '.join(x) for x in text]
35
  text=[x+'\n' if len(x) < 50 else generate_summary(x)+' \n' for x in text]
36
- results = [title+' \n', author+' \n'] + text
37
  st.session_state["summary"] = ' '.join(results)
38
 
39
  ## Graphic interfaz
 
33
  text = [utils.drop_non_relevant_text(utils.preprocess_text(x)) for x in text]
34
  text = [' '.join(x) for x in text]
35
  text=[x+'\n' if len(x) < 50 else generate_summary(x)+' \n' for x in text]
36
+ results = [title+' \n'] + text
37
  st.session_state["summary"] = ' '.join(results)
38
 
39
  ## Graphic interfaz