import gradio as gr def greet(name, age, city,Key): return f"Hello {name}! You are {age} years old, you live in {city} and your key is: ." inputs = [ gr.inputs.Textbox(label="Name",type="text"), gr.inputs.Textbox(label="Age", type="text"), gr.inputs.Textbox(label="City",type="text"), gr.inputs.Textbox(label="Key",type="password") ] iface = gr.Interface(fn=greet, inputs=inputs, outputs="text", title="Greeting App", description="Enter your name, age, and city to get a greeting!") iface.launch()