ocr-python icon indicating copy to clipboard operation
ocr-python copied to clipboard

Nanonets library not working

Open prateeksrivastava89 opened this issue 1 year ago • 1 comments

I am using this simple code

import pandas as pd from nanonets import NANONETSOCR model = NANONETSOCR() model.set_token('11dee3fe-f5c8-11ee-bf37-ba5f646e6bcf') test_path = "output.csv" print(test_path) model.convert_to_csv('Almora_Class_3.png', output_file_name= 'output.csv') print("it is working")

still the error keeps coming json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

What seems to be the issue

prateeksrivastava89 avatar Jul 22 '24 05:07 prateeksrivastava89

Hi,

I’m experiencing the same problem with the code. The json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1) error keeps occurring for me as well.

If anyone has found a solution or workaround, I would really appreciate your help!

Thanks!

MelchiorSchubert avatar Sep 03 '24 08:09 MelchiorSchubert