JSONDecode error
version = 0.14
import os
import glob
from datetime import datetime
import time
pdf_files = glob.glob(file_location + '/*.pdf')
print(f'#PDF files found: {len(pdf_files)}!')
pdf_reader = LayoutPDFReader(llmsherpa_api_url)
doc1 = pdf_reader.read_pdf("path.pdf")
Got error:
JSONDecodeError Traceback (most recent call last)
"name": "JSONDecodeError",
"message": "Expecting value: line 1 column 1 (char 0)",
"stack": "......"
}
0 条评论