Open wccccp opened 1 year ago
我增加文档上传检查。 发现确实无法上传文档。 提示都是空文件
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,基本显示文件为空
一直是上传状态 ,为什么不能上传,无报错日志