Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在本地无法上传pdf 也没有报错日志 #12

Open
wccccp opened this issue Mar 29, 2023 · 1 comment
Open

在本地无法上传pdf 也没有报错日志 #12

wccccp opened this issue Mar 29, 2023 · 1 comment

Comments

@wccccp
Copy link

wccccp commented Mar 29, 2023

一直是上传状态 ,为什么不能上传,无报错日志
image
image

@shenbohe
Copy link

shenbohe commented Apr 1, 2023

我增加文档上传检查。 发现确实无法上传文档。 提示都是空文件

def analyse(self, api_key, uploaded_file):
self.session = PaperReader(api_key)
file_content = uploaded_file.read()
if not file_content:
return "The input file is empty. Please upload a valid PDF file."
self.paper = Paper(BytesIO(file_content))
return self.session.summarize(self.paper)

我点击analyse,基本显示文件为空

Slyne added a commit to Slyne/ChatGPT-Paper-Reader that referenced this issue Apr 6, 2023
@Slyne Slyne mentioned this issue Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants