hysts's picture
hysts HF staff
Add files
4b722d9
raw
history blame contribute delete
291 Bytes
import gradio as gr
def run(message, history):
return message["text"]
examples = [
{
"text": "hey",
"files": ["cats.jpg"],
},
]
demo = gr.ChatInterface(
fn=run,
multimodal=True,
examples=examples,
cache_examples=True,
)
demo.queue().launch()