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

python main.py KeyError: 'type' #327

Open
Mingzhu-Zhao opened this issue Dec 10, 2023 · 0 comments
Open

python main.py KeyError: 'type' #327

Mingzhu-Zhao opened this issue Dec 10, 2023 · 0 comments

Comments

@Mingzhu-Zhao
Copy link

PS C:\Data\Software\ChatgptAcademic\chatgpt_academic-master> python main.py
File "C:\Data\Software\ChatgptAcademic\chatgpt_academic-master\main.py", line 92, in
except: pass
File "C:\Data\Software\Conda\install\envs\chatgpt\lib\site-packages\gradio\blocks.py", line 1200, in exit
self.config = self.get_config_file()
File "C:\Data\Software\Conda\install\envs\chatgpt\lib\site-packages\gradio\blocks.py", line 1176, in get_config_file
"input": list(block.input_api_info()), # type: ignore
File "C:\Data\Software\Conda\install\envs\chatgpt\lib\site-packages\gradio_client\serializing.py", line 44, in input_api_info
types = api_info.get("serialized_input", [api_info["info"]["type"]] * 2) # type: ignore
KeyError: 'type'

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

1 participant