InternGPT icon indicating copy to clipboard operation
InternGPT copied to clipboard

在gradio的demo上不管跑什么模块,终端始终都报同样的错误。

Open dengtianbi opened this issue 1 year ago • 1 comments

在gradio的demo上不管跑什么模块,终端都报同样的错误。 Traceback (most recent call last): File "/mnt/ai212/workspace/dengtb/anaconda3/envs/ichat/lib/python3.8/site-packages/gradio/routes.py", line 414, in run_predict output = await app.get_blocks().process_api( File "/mnt/ai212/workspace/dengtb/anaconda3/envs/ichat/lib/python3.8/site-packages/gradio/blocks.py", line 1323, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/mnt/ai212/workspace/dengtb/anaconda3/envs/ichat/lib/python3.8/site-packages/gradio/blocks.py", line 1257, in postprocess_data prediction_value = block.postprocess(prediction_value) File "/mnt/ai212/workspace/dengtb/anaconda3/envs/ichat/lib/python3.8/site-packages/gradio/components.py", line 4629, in postprocess assert isinstance( AssertionError: Expected a list of lists or list of tuples. Received: None

dengtianbi avatar May 30 '23 09:05 dengtianbi

Could you mind sharing more information like environment and start command about this issue?

We also need the your operation steps, so that we can reproduce your problem.

liu-zhy avatar May 30 '23 11:05 liu-zhy

same error

zhangzhengyi12 avatar Jun 21 '23 06:06 zhangzhengyi12

same error. Do you solved it?

Droliven avatar Nov 28 '23 03:11 Droliven