eaglelandsonce commited on
Commit
c09ff88
·
verified ·
1 Parent(s): 445524d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  import json
 
3
  import matplotlib.pyplot as plt
4
 
5
  # Function to load and parse the JSON data
@@ -44,7 +45,7 @@ def main():
44
  st.title('Green Smart Village Layout')
45
 
46
  # Load and display the data
47
- data = load_data('grid.json') # Adjust this path if your grid.json is located elsewhere
48
  st.json(data)
49
 
50
  # Drawing and displaying the grid layout
 
1
  import streamlit as st
2
  import json
3
+ import pandas as pd
4
  import matplotlib.pyplot as plt
5
 
6
  # Function to load and parse the JSON data
 
45
  st.title('Green Smart Village Layout')
46
 
47
  # Load and display the data
48
+ data = load_data('grid.json') # Make sure to adjust the path if necessary
49
  st.json(data)
50
 
51
  # Drawing and displaying the grid layout