You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\route_utils.py", line 235, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\blocks.py", line 1636, in process_api
data = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\blocks.py", line 1458, in postprocess_data
prediction_value = block.postprocess(prediction_value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\components\chatbot.py", line 214, in postprocess
raise TypeError(
TypeError: Expected a list of lists or list of tuples. Received: {'role': 'user', 'content': '你是谁'}
The text was updated successfully, but these errors were encountered:
点击后总是报格式不对的错误
Traceback (most recent call last):
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\route_utils.py", line 235, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\blocks.py", line 1636, in process_api
data = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\blocks.py", line 1458, in postprocess_data
prediction_value = block.postprocess(prediction_value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ProgramData\anaconda3\envs\CreativeChatGLM-master\Lib\site-packages\gradio\components\chatbot.py", line 214, in postprocess
raise TypeError(
TypeError: Expected a list of lists or list of tuples. Received: {'role': 'user', 'content': '你是谁'}
The text was updated successfully, but these errors were encountered: