eco-property-retrofit / gradio_ui.py
GlobalBusinessAdvisors's picture
Update gradio_ui.py
50bbbcc verified
raw
history blame
465 Bytes
import gradio as gr
def start_assessment():
return "Welcome to EcoPropertyRetrofitGPT! Begin your property retrofit assessment by answering each question as it appears. Your responses will automatically guide the creation of a comprehensive retrofit plan."
def create_ui():
iface = gr.Interface(
fn=start_assessment,
inputs=[],
outputs="text",
live=True
)
iface.launch()
if __name__ == "__main__":
create_ui()