Open Marcelas751 opened 4 days ago
C:\Users\user>curl -X POST "http://localhost:8000/ocr" -F "file=C:\Users\user\Downloads\Telegram Desktop\0a6ce636600e1723a71ff95348cd07abdc035118.pdf" -F "strategy=marker" -F "ocr_cache=true" {"detail":[{"type":"missing","loc":["body","prompt"],"msg":"Field required","input":null},{"type":"missing","loc":["body","model"],"msg":"Field required","input":null},{"type":"value_error","loc":["body","file"],"msg":"Value error, Expected UploadFile, received: <class 'str'>","input":"C:\\Users\\user\\Downloads\\Telegram Desktop\\0a6ce636600e1723a71ff95348cd07abdc035118.pdf","ctx":{"error":{}}}]}
OK, on it
I think it's fixed with https://github.com/CatchTheTornado/pdf-extract-api/pull/17 @Marcelas751 please do check if it works for you now
Check the code from master branch please