DAMO-ConvAI
DAMO-ConvAI copied to clipboard
"AttributeError: 'AsyncRequest' object has no attribute '_json_response_data'"
在第一个提问以后,应该是找到对应的函数,计算器。但继续就出错。举步维艰啊! 2024-01-31 17:18:23,542 - root - INFO - Logging : api detected model_output is - (API call) [ToolSearcher(keywords='calculator')] 2024-01-31 17:18:28,572 - asyncio - ERROR - Task exception was never retrieved future: <Task finished name='1x5p0q6rjur_1' coro=<Queue.process_events() done, defined at D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py:343> exception=AttributeError("'AsyncRequest' object has no attribute '_json_response_data'")> Traceback (most recent call last): File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py", line 370, in process_events while response.json.get("is_generating", False): File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\utils.py", line 695, in json return self._json_response_data AttributeError: 'AsyncRequest' object has no attribute '_json_response_data' 2024-01-31 17:19:05,624 - root - INFO - (API) Exception: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/paraphrase-MiniLM-L3-v2 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000019C1C16D430>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连 接的主机没有反应,连接尝试失败。'))"), '(Request ID: 5527a1e9-4e91-4367-a353-2ece50d6d826)')
我估计是gradio版本的兼容性。请告知应该用gradio的哪个版本呢?
您好,哪个 project ?