Spaces:
Running
Running
Update chat_demo.py
Browse files- chat_demo.py +1 -1
chat_demo.py
CHANGED
@@ -101,7 +101,7 @@ with gr.Blocks() as demo:
|
|
101 |
#download=gr.DownloadButton(label="Download Conversation", value=None)
|
102 |
conv_state = gr.State()
|
103 |
orig_path = gr.State()
|
104 |
-
chatbot = gr.Chatbot(placeholder="Have fun with the AI!", editable='all', show_copy_button=True)
|
105 |
additional_inputs=[
|
106 |
gr.Dropdown(choices=MODEL_LIST, label="LLM Model"),
|
107 |
gr.Textbox("You are a helpful AI assistant.", label="System Prompt"),
|
|
|
101 |
#download=gr.DownloadButton(label="Download Conversation", value=None)
|
102 |
conv_state = gr.State()
|
103 |
orig_path = gr.State()
|
104 |
+
chatbot = gr.Chatbot(placeholder="Have fun with the AI!", editable='all', show_copy_button=True, type="messages")
|
105 |
additional_inputs=[
|
106 |
gr.Dropdown(choices=MODEL_LIST, label="LLM Model"),
|
107 |
gr.Textbox("You are a helpful AI assistant.", label="System Prompt"),
|