❓ [Question]: ValueError: An event handler (respond) didn't receive enough output values (needed: 6, received: 3)
Your Question
Traceback (most recent call last): File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\gradio\routes.py", line 437, in run_predict output = await app.get_blocks().process_api( File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\gradio\blocks.py", line 1355, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\gradio\blocks.py", line 1258, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\gradio\blocks.py", line 1233, in validate_outputs raise ValueError( ValueError: An event handler (respond) didn't receive enough output values (needed: 6, received: 3). Wanted outputs: [textbox, chatbot, html, html, button, button] Received outputs: [{'visible': False, 'type': 'generic_update'}, {'label': None, 'show_label': None, 'container': None, 'scale': None, 'min_width': None, 'visible': None, 'value': [[None, 'Your video is being made now! ']], 'height': None, 'type': 'update'}, {'label': None, 'show_label': None, 'visible': False, 'value': '', 'type': 'update'}]
Source: RayVentura/ShortGPT