import gradio as gr # type: ignore def greet(name, sliderint): return "Hello " + name + "!!" + str(sliderint) def chatinterface_fn(message,history): return f"{message} return" with gr.Blocks() as demo: gr.Interface(fn=greet, inputs=["text","slider"], outputs="text") gr.ChatInterface(chatinterface_fn).launch() demo.launch()