Spaces:
Runtime error
Runtime error
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() |