You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
一直是上传状态 ,为什么不能上传,无报错日志
The text was updated successfully, but these errors were encountered: