dgobalak / dgobalak/File-Insights
Google translate cannot handle content above a certain size.
Open
bug
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce:
1. Add PDF file with >20k characters
2. Upload file
Expected Result:
- Wikipedia summaries are outputted.
Actual Result:
- `TypeError: the JSON object must be str, bytes or bytearray, not NoneType`
Apparently, there's a character limit in google translate of about 5k. Let's just process the text in chunks of <5k characters.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.