Gradio-API-Test / app.py
KiraPGR's picture
Update app.py
4ebcf5f verified
raw
history blame
249 Bytes
import gradio as gr
def echo(message, history, new_param):
# Use the new_param in your function logic
return message
demo = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot", new_param="value")
demo.launch()