Spaces:
Sleeping
Sleeping
File size: 249 Bytes
5aa350d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
def echo(message, history):
return message["text"]
demo = gr.ChatInterface(
fn=echo,
examples=[{"text": "hello"}, {"text": "hola"}, {"text": "merhaba"}],
title="Echo Bot",
multimodal=True,
)
demo.launch()
|