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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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()