webui中使用cleaner插件,报错

Traceback (most recent call last):
File "E:\a webui\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "E:\a webui\python\lib\site-packages\gradio\blocks.py", line 1434, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "E:\a webui\python\lib\site-packages\gradio\blocks.py", line 1335, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "E:\a webui\python\lib\site-packages\gradio\components\gallery.py", line 205, in postprocess
raise ValueError(f"Cannot process type as image: {type(img)}")
ValueError: Cannot process type as image: <class 'NoneType'>
2025-04-13
浏览413
登录后评论
评论
1