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() | |