Update app.py
Browse files
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", "
|
7 |
-
{"role": "user", "
|
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()
|