fastapi app for documents classificatio
- textract
- XLM-Roberta-base-language-detection
- Bart-MNLI-CNN_news
sudo apt-get install tesseract-ocr
pip 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 --reload
you can check /docs endpoint to get the documentation