File size: 213 Bytes
3396ac4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
def fn(message, history):
return message
gr.ChatInterface(
fn=fn,
cache_examples=True,
cache_mode="lazy",
examples=[["hey"], ["hello"]],
type="messages",
).launch()
|