Comments (11)
could you please try now. I had added a temporary embeddings file which was causing this error. Now I am able to run it correctly:
from pdfgpt.
Did you fix the source code also so I could try it locally?
from pdfgpt.
yes, please get the latest code
from pdfgpt.
I just pulled the latest code and am also experiencing this issue.
"FileExistsError: [WinError 183] Cannot create a file when that file already exists: "
from pdfgpt.
Please use this file
https://huggingface.co/spaces/bhaskartripathi/pdfChatter/blob/main/app.py
from pdfgpt.
Please use this file https://huggingface.co/spaces/bhaskartripathi/pdfChatter/blob/main/app.py
Thank you. I just tried and still have the same error.
from pdfgpt.
The error you are getting is because the earlier code was checking if the embedding is created and save temporarily, it is not reloaded. This can save the computational effort of creating embedding on every call. However, as that code had some issue, I had removed that from the latest version. It looks like you are still using the previous code. Could you plz do a viewdiff ?
from pdfgpt.
I just copied the text from the link you sent and ran it. It has the changes indicated by hugginface on lines 52 and 188.
Line 52: chunk = f'[Page no. {idx+start_page}]' + ' ' + '"' + chunk + '"'
Is this the correct version?
from pdfgpt.
Yes that is correct
from pdfgpt.
the error still happens after a while
from pdfgpt.
I have tried it again and again but Not able to replicate it anymore.
from pdfgpt.
Related Issues (20)
- Docker pull ERROR HOT 1
- [Feature Request] Support InternLM HOT 1
- pip installation failed HOT 3
- request to use free open-sourced models
- is tensorflow and tensorrt necessary? HOT 2
- Extract Key Information from Invoice PDF's HOT 5
- Type of supported data in PDF HOT 3
- Demo not working HOT 4
- requests ask_file 404
- lc-serve deploy local api is not working HOT 3
- this code do not work.
- ChatPDF can create some exam questions based on the document, but pdfGPT failed HOT 2
- Hallucinations HOT 1
- `requirements > langchain-serve` is no longer maintained, any alternative? HOT 3
- Demo seems to be not working
- Anyway to use a repository of PDF files on disk? HOT 4
- How to use the api? Is it still available?
- lc-serve on Macbook M1/M2 HOT 3
- requirements.txt takes too long to install HOT 3
- Make it possible to use freegpt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfgpt.