aliabid94 HF staff commited on
Commit
98b73b6
·
verified ·
1 Parent(s): d27ec3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
3
  with gr.Blocks() as demo:
4
  gr.Chatbot(value=[["hey", "hi"], ["hey", "hi"]])
5
  gr.Chatbot(value=[
6
- {"role": "assistant", "message": "How can I help?"},
7
- {"role": "user", "message": "Save me"},
8
  ], type="messages")
9
  img1 = gr.Image()
10
  img2 = gr.Image()
 
3
  with gr.Blocks() as demo:
4
  gr.Chatbot(value=[["hey", "hi"], ["hey", "hi"]])
5
  gr.Chatbot(value=[
6
+ {"role": "assistant", "content": "How can I help?"},
7
+ {"role": "user", "content": "Save me"},
8
  ], type="messages")
9
  img1 = gr.Image()
10
  img2 = gr.Image()