fastapi app for documents classificatio
- textract
- XLM-Roberta-base-language-detection
- Bart-MNLI-CNN_news
sudo apt-get install tesseract-ocrpip install -r requirements.txt
create config.py in ./apis containe
labels = [] #labels list ["news","sport"]
huggingface_key = "<huggingface key>"
deta_key = "<deta key>"uvicorn main:app --reloadyou can check /docs endpoint to get the documentation