import gradio as gr def generate_description(property_type, price): return f"A beautiful {property_type} listed at £{price}. Contact us for a viewing." gr.Interface( fn=generate_description, inputs=[ gr.Textbox(label="Property Type"), gr.Textbox(label="Price") ], outputs="text", title="Property Description Generator" ).launch()