Nymbo commited on
Commit
b3176b3
·
verified ·
1 Parent(s): 5e7ca2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -118,7 +118,7 @@ with gr.Blocks() as demo:
118
 
119
  with gr.Row():
120
  with gr.Column(scale=2):
121
- chatbot = gr.Chatbot([{"role": "user", "content": "Hello"}, {"role": "assistant", "content": "Hi"}], label="Chatbot")
122
  chat_btn = gr.Button("Add messages")
123
 
124
  def chat(history):
@@ -141,4 +141,4 @@ with gr.Blocks() as demo:
141
 
142
 
143
  if __name__ == "__main__":
144
- demo.queue().launch(theme='Nymbo/Alyx_Theme')
 
118
 
119
  with gr.Row():
120
  with gr.Column(scale=2):
121
+ chatbot = gr.Chatbot(value=[{"role": "user", "content": "Hello"}, {"role": "assistant", "content": "Hi"}], type="messages", label="Chatbot")
122
  chat_btn = gr.Button("Add messages")
123
 
124
  def chat(history):
 
141
 
142
 
143
  if __name__ == "__main__":
144
+ demo.queue().launch(theme='Nymbo/Alyx_Theme')