How do I create a simple Gradio chatbot?
user
To create a simple Gradio chatbot, you can use `gr.ChatInterface`:

```python
import gradio as gr

def respond(message, history):
    # Your chatbot logic here
    return f"You said: {message}"

# Create the chat interface
demo = gr.ChatInterface(
    fn=respond,
    title="My Chatbot",
    description="A simple chatbot example"
)

demo.launch()
```

This creates a complete chat interface with message history, input field, and all the standard chat UI elements.
assistant