Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,12 +45,12 @@ def main():
|
|
45 |
st.title('Green Smart Village Layout with Color Coding')
|
46 |
|
47 |
# Load and display the data with color coding
|
48 |
-
data = load_data('
|
49 |
-
st.json(data)
|
50 |
|
51 |
# Drawing and displaying the grid layout with color coding
|
52 |
fig = draw_grid(data)
|
53 |
st.pyplot(fig)
|
54 |
|
55 |
-
if __name__ == "
|
56 |
main()
|
|
|
45 |
st.title('Green Smart Village Layout with Color Coding')
|
46 |
|
47 |
# Load and display the data with color coding
|
48 |
+
data = load_data('grid.json') # Adjust this path if necessary
|
49 |
+
# st.json(data)
|
50 |
|
51 |
# Drawing and displaying the grid layout with color coding
|
52 |
fig = draw_grid(data)
|
53 |
st.pyplot(fig)
|
54 |
|
55 |
+
if __name__ == "__app__":
|
56 |
main()
|