Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Archan
/
ArXivAudio
like
4
Runtime error
App
Files
Files
Community
c7380eb
ArXivAudio
/
preprocess.py
Archan
Create new file
897c843
over 2 years ago
raw
Copy download link
history
blame
Safe
177 Bytes
def
pre_process
(
content=
""
):
text = content.splitlines()
final_text =
""
for
i
in
text:
if
len
(i) >
1
:
final_text +=
" "
+i
return
final_text