runtime error
Exit code: 1. Reason: /app/app.py:49: 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. chatbot = gr.Chatbot(height=500) Traceback (most recent call last): File "/app/app.py", line 62, in <module> inputs=[msg, chatbot, system_message, max_tokens, temperature, top_p, gr.State(gr.OAuthToken)], File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 188, in wrapper return fn(self, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/components/state.py", line 53, in __init__ super().__init__(value=value, render=render) File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 188, in wrapper return fn(self, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/components/base.py", line 223, in __init__ load_fn, initial_value = self.get_load_fn_and_initial_value(value, inputs) File "/usr/local/lib/python3.10/site-packages/gradio/components/base.py", line 265, in get_load_fn_and_initial_value initial_value = value() TypeError: OAuthToken.__init__() missing 3 required positional arguments: 'token', 'scope', and 'expires_at'
Container logs:
Fetching error logs...