import gradio as gd def greeting(name, history): print(f"Hello + {name}!") demo = gd.ChatInterface(fn=greeting, textbox=gd.Textbox(placeholder="Type the name to greet:", container=False, scale=7), title="Greeting", ) demo.launch()