Spaces:
Sleeping
Sleeping
File size: 379 Bytes
5269de3 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
with gr.Blocks() as demo:
gr.Chatbot(value=[["hey", "hi"], ["hey", "hi"]])
gr.Chatbot(value=[
{"role": "assistant", "content": "How can I help?"},
{"role": "user", "content": "Save me"},
{"role": "user", "content": gr.Image("https://en.wikipedia.org/static/images/icons/wikipedia.png")},
], type="messages")
demo.launch() |