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
First of all, thank you for your amazing work on this project. I hope you are having a great holiday season and Happy New Year! 🎉
I encountered an issue while running the following command: python -m demo.app --resume_from_checkpoint chenjoya/videollm-online-8b-v1plus
The application starts correctly, and I can access the Gradio interface at the provided URL. However, when interacting with the chatbot, I receive the following error message: gradio.exceptions.Error: 'Data incompatible with tuples format. Each message should be a list of length 2.'
The chatbot raises an exception related to an incompatible data format. It seems the returned data does not match the expected tuples format.
Traceback (most recent call last): File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/queueing.py", line 624, in process_events response = await route_utils.call_process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/route_utils.py", line 323, in call_process_api output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 2029, in process_api data = await self.postprocess_data(block_fn, result["prediction"], state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 1835, in postprocess_data prediction_value = block.postprocess(prediction_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/components/chatbot.py", line 551, in postprocess self._check_format(value, "tuples") File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/components/chatbot.py", line 349, in _check_format raise Error( gradio.exceptions.Error: 'Data incompatible with tuples format. Each message should be a list of length 2.'
Could you help me identify the correct format for the chatbot data? Should I modify the chatbot response to use the new messages format with keys role and content, as suggested in the warning message?
Thank you for your time and assistance! I wish you a wonderful new year. 🎊
Best regards,
Sean
The text was updated successfully, but these errors were encountered:
Dear Maintainers,
First of all, thank you for your amazing work on this project. I hope you are having a great holiday season and Happy New Year! 🎉
I encountered an issue while running the following command:
python -m demo.app --resume_from_checkpoint chenjoya/videollm-online-8b-v1plus
The application starts correctly, and I can access the Gradio interface at the provided URL. However, when interacting with the chatbot, I receive the following error message:
gradio.exceptions.Error: 'Data incompatible with tuples format. Each message should be a list of length 2.'
The chatbot raises an exception related to an incompatible data format. It seems the returned data does not match the expected tuples format.
Additional Information:
Python version: 3.12
Gradio version: 5.7.1
Traceback (most recent call last): File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/queueing.py", line 624, in process_events response = await route_utils.call_process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/route_utils.py", line 323, in call_process_api output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 2029, in process_api data = await self.postprocess_data(block_fn, result["prediction"], state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 1835, in postprocess_data prediction_value = block.postprocess(prediction_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/components/chatbot.py", line 551, in postprocess self._check_format(value, "tuples") File "/local/sean/miniconda3/lib/python3.12/site-packages/gradio/components/chatbot.py", line 349, in _check_format raise Error( gradio.exceptions.Error: 'Data incompatible with tuples format. Each message should be a list of length 2.'
Could you help me identify the correct format for the chatbot data? Should I modify the chatbot response to use the new messages format with keys role and content, as suggested in the warning message?
Thank you for your time and assistance! I wish you a wonderful new year. 🎊
Best regards,
Sean
The text was updated successfully, but these errors were encountered: