File size: 465 Bytes
50bbbcc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()