Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
pgsoft/house
pgsoft
/
pgai
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
pgai
/
utils.py
Beracles
call pgai and logger
b4cd98c
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
160 Bytes
def
normalize_text
(
text:
str
) ->
str
:
text = text.lower()
tmp = text.split(
" "
)
tmp = [word
for
word
in
tmp
if
word !=
""
]
return
" "
.join(tmp)