talkingwallace/ChatGPT-Paper-Reader

GUI version after drag report cant read a empty file

forxhunter opened this issue · 3 comments

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

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

ok 我试试

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