Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,7 @@ with gr.Blocks() as demo:
|
|
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()
|
11 |
-
img1.change(lambda x:x, img1, img2)
|
12 |
|
13 |
demo.launch()
|
|
|
5 |
gr.Chatbot(value=[
|
6 |
{"role": "assistant", "content": "How can I help?"},
|
7 |
{"role": "user", "content": "Save me"},
|
8 |
+
{"role": "user", "content": gr.Image("https://en.wikipedia.org/static/images/icons/wikipedia.png")},
|
9 |
], type="messages")
|
|
|
|
|
|
|
10 |
|
11 |
demo.launch()
|