eco-property-retrofit / ui /gradio-ui.py
GlobalBusinessAdvisors's picture
Update ui/gradio-ui.py
794a200 verified
raw
history blame
426 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")
iface.launch(share=True)
if __name__ == "__main__":
create_ui()