GlobalBusinessAdvisors
commited on
Commit
•
794a200
1
Parent(s):
eec5a1d
Update ui/gradio-ui.py
Browse files- ui/gradio-ui.py +11 -0
ui/gradio-ui.py
CHANGED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def start_assessment():
|
4 |
+
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."
|
5 |
+
|
6 |
+
def create_ui():
|
7 |
+
iface = gr.Interface(fn=start_assessment, inputs=[], outputs="text")
|
8 |
+
iface.launch(share=True)
|
9 |
+
|
10 |
+
if __name__ == "__main__":
|
11 |
+
create_ui()
|