Spaces:
Running
Running
File size: 2,424 Bytes
de7f30c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
runtime error
Exit code: 1. Reason: google-generativeai: 0.8.3
/usr/local/lib/python3.10/site-packages/gradio/components/chatbot.py:273: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style dictionaries with 'role' and 'content' keys.
warnings.warn(
Traceback (most recent call last):
File "/home/user/app/app.py", line 223, in <module>
text_prompt_component.render()
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 186, in render
raise DuplicateBlockError(
gradio.exceptions.DuplicateBlockError: A block with id: 2 has already been rendered in the current Blocks.
Container logs:
===== Application Startup at 2025-01-18 21:07:48 =====
google-generativeai: 0.8.3
/usr/local/lib/python3.10/site-packages/gradio/components/chatbot.py:273: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style dictionaries with 'role' and 'content' keys.
warnings.warn(
Traceback (most recent call last):
File "/home/user/app/app.py", line 223, in <module>
text_prompt_component.render()
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 186, in render
raise DuplicateBlockError(
gradio.exceptions.DuplicateBlockError: A block with id: 2 has already been rendered in the current Blocks.
google-generativeai: 0.8.3
/usr/local/lib/python3.10/site-packages/gradio/components/chatbot.py:273: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style dictionaries with 'role' and 'content' keys.
warnings.warn(
Traceback (most recent call last):
File "/home/user/app/app.py", line 223, in <module>
text_prompt_component.render()
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 186, in render
raise DuplicateBlockError(
gradio.exceptions.DuplicateBlockError: A block with id: 2 has already been rendered in the current Blocks. |