hysts's picture
hysts HF staff
Add files
b736e66
raw
history blame contribute delete
366 Bytes
import gradio as gr
def run(message, history):
print(message)
return "aaa"
demo = gr.ChatInterface(
fn=run,
examples=[
[
{
"text": "Describe the image.",
"files": ["cats.jpg"],
},
],
],
multimodal=True,
type="messages",
cache_examples=False,
)
demo.launch()