Results 2 comments of Shy

def ocr(path): headers = { 'accept': 'application/json', # requests won't add a boundary if this header is set when you pass files= # 'Content-Type': 'multipart/form-data', } files = { 'file':...

''' def ocr(path): headers = { 'accept': 'application/json', # requests won't add a boundary if this header is set when you pass files= # 'Content-Type': 'multipart/form-data', } files = {...