pdfGPT icon indicating copy to clipboard operation
pdfGPT copied to clipboard

Attribute error

Open beralc opened this issue 2 years ago • 8 comments

I'm getting this error message when I run the code: It happens after putting in the API key and uploading a PDF.
AttributeError: 'SemanticSearch' object has no attribute 'nn' And I can't find out why it's happening.

beralc avatar Apr 05 '23 17:04 beralc

same issue

ohalkhateeb avatar Apr 05 '23 19:04 ohalkhateeb

Can you please share a screenshot or full error details?

bhaskatripathi avatar Apr 06 '23 02:04 bhaskatripathi

Screenshot 2023-04-07 at 09 25 23

beralc avatar Apr 07 '23 07:04 beralc

This thread might help: https://github.com/j96w/DenseFusion/issues/33

bhaskatripathi avatar Apr 09 '23 10:04 bhaskatripathi

You may not see this issue if you pull the latest code. Please try and let me know if it persists.

bhaskatripathi avatar Apr 12 '23 05:04 bhaskatripathi

It works well now. Thanks. Can I ask a question? Is it possible to make it work like this: https://www.chatpdf.com/? This app combines both the text from the PDF and chatgpt. And is able to do other things around the PDF, for example, write reading comprehension exercises.

beralc avatar Apr 14 '23 13:04 beralc

Sure, it can be done like that. I will find out sometime to make it work like that.

bhaskatripathi avatar Apr 14 '23 13:04 bhaskatripathi

so... what´s the solution then?????

xaccell avatar Apr 19 '23 15:04 xaccell

This works

bhaskatripathi avatar Apr 26 '23 09:04 bhaskatripathi