Alioth86 commited on
Commit
35c8a2a
·
1 Parent(s): 1bfc8a0

Add application file

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -103,12 +103,6 @@ def clean_text(text):
103
 
104
  return text.strip()
105
 
106
- # using the function on the text_per_page_1 dictionary
107
- for key, value in text_per_pagy.items():
108
- cleaned_text = clean_text(' '.join(value[0])) # value[0] contains the text
109
- text_per_pagy[key] = cleaned_text
110
-
111
- # Now text_per_pagy is clean
112
 
113
  def extract_abstract(text_per_pagy):
114
  abstract_text = ""
 
103
 
104
  return text.strip()
105
 
 
 
 
 
 
 
106
 
107
  def extract_abstract(text_per_pagy):
108
  abstract_text = ""