fix issue with long text

#34
Jina AI org

When checking if clean_text passed is a file, Path throws an error when the value is too long. We could avoid this by wrapping it in a try-except block

Jina AI org

LGTM

makram93 changed pull request status to merged

Sign up or log in to comment