diff --git a/modules/ui_chat.py b/modules/ui_chat.py index b09d0081..ecebc28e 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -18,7 +18,7 @@ def create_ui(): mu = shared.args.multi_user shared.gradio['Chat input'] = gr.State() - shared.gradio['history'] = gr.JSON({'internal': [], 'visible': []}, visible=False) + shared.gradio['history'] = gr.JSON(visible=False) with gr.Tab('Chat', elem_id='chat-tab'): with gr.Row(elem_id='past-chats-row', elem_classes=['pretty_scrollbar']):