Spaces:
Sleeping

README / app.py
azwiwy's picture
Create app.py
56f0380 verified
Raw History Blame Contribute Delete
373 Bytes
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()