talkingwallace / ChatGPT-Paper-Reader

This repo offers a simple interface that helps you to read&summerize research papers in pdf format. You can ask some questions after reading. This interface is developed based on openai API and using GPT-3.5-turbo model.
739 stars 110 forks source link

GUI version after drag report cant read a empty file #3

Closed forxhunter closed 1 year ago

forxhunter commented 1 year ago

File "C:\Users\shiel\AppData\Roaming\Python\Python310\site-packages\PyPDF2_reader.py", line 1414, in read self._basic_validation(stream) File "C:\Users\shiel\AppData\Roaming\Python\Python310\site-packages\PyPDF2_reader.py", line 1455, in _basic_validation raise EmptyFileError("Cannot read an empty file") PyPDF2.errors.EmptyFileError: Cannot read an empty file

Alpaca4610 commented 1 year ago

gradio依赖最近更新了File函数:https://github.com/gradio-app/gradio/issues/3328 3.21.0版本的gradio似乎在这个版本的更新中又产生了新的BUG,请使用3.15.0版本的gradio运行GUI界面。 pip install gradio==3.15.0

forxhunter commented 1 year ago

ok 我试试

forxhunter commented 1 year ago

problem fixed and I modify the readme. you may add them together