Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,31 @@ def draw_grid(data, highlight_coords=None):
|
|
86 |
|
87 |
|
88 |
# Main Streamlit app function
|
89 |
-
def main():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
st.title('Green Smart Village Application')
|
91 |
|
92 |
# Divide the page into three columns
|
@@ -147,5 +171,5 @@ def main():
|
|
147 |
if hin_number:
|
148 |
st.write("HIN number details...") # Placeholder for actual HIN number check
|
149 |
|
150 |
-
if __name__ == "__main__":
|
151 |
-
main()
|
|
|
86 |
|
87 |
|
88 |
# Main Streamlit app function
|
89 |
+
#def main():
|
90 |
+
|
91 |
+
# Create the main app with three tabs
|
92 |
+
tab1, tab2 = st.tabs(["Interpretive Number","Engineering Tools"])
|
93 |
+
|
94 |
+
|
95 |
+
with tab1:
|
96 |
+
st.header("Human Interpretive Number (HIN)")
|
97 |
+
|
98 |
+
st.write("")
|
99 |
+
"How do LLMs interpret us and over “a period” of time what is the result of our interaction with them?"
|
100 |
+
st.write("")
|
101 |
+
|
102 |
+
image_comparison(
|
103 |
+
img1="./data/robot.jpg",
|
104 |
+
img2="./data/life.jpg",
|
105 |
+
label1="What the LMM Sees (Simulated Life)",
|
106 |
+
label2="What we See (Real Life)",
|
107 |
+
)
|
108 |
+
|
109 |
+
|
110 |
+
with tab2:
|
111 |
+
|
112 |
+
st.header("Five Scene Data")
|
113 |
+
|
114 |
st.title('Green Smart Village Application')
|
115 |
|
116 |
# Divide the page into three columns
|
|
|
171 |
if hin_number:
|
172 |
st.write("HIN number details...") # Placeholder for actual HIN number check
|
173 |
|
174 |
+
#if __name__ == "__main__":
|
175 |
+
# main()
|