Find answers from the community

Updated 6 months ago

When trying to use LlamaParse, I'm

At a glance

The community member is having trouble using LlamaParse, as they are getting an error message stating that only PDF files are supported, even though they are uploading a PDF. The comments suggest that the community member has tested this with different PDFs, including the one they are trying to use, and that the issue may be related to uploading the file through Streamlit. Another community member suggests that using PDFReader() with LlamaParse might not work, as LlamaParse is meant to replace PDFReader. Finally, the original community member figures out the issue, which was that they were naming their temporary file with a .csv extension instead of .pdf.

When trying to use LlamaParse, I'm getting "Error while parsing the PDF file: Currently, only PDF files are supported." even though I am uploading a PDF πŸ€”
L
a
6 comments
Are you able to share the file?
I've tested this with a couple of different PDFs, including this one. I am still uploading a file through Streamlit so maybe that's the issue
Is there any way to use PDFReader() with LlamaParse?
LlamaParse would be a replacement for PDFReader, so I don't think that will work?

I just tested this PDF with the UI and it seems to work without error πŸ‘€
I figured it out... it was a silly mistake I was making with naming my tempfile extension .csv instead of .pdf
aha! That makes sense πŸ™‚
Add a reply
Sign up and join the conversation on Discord