Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,10 +44,10 @@ with tab4:
|
|
| 44 |
# Streamlit UI
|
| 45 |
c1, c2 = st.columns(2)
|
| 46 |
with c1:
|
| 47 |
-
locations = st.selectbox("Select Location:", sorted(sites), key=2)
|
| 48 |
|
| 49 |
with c2:
|
| 50 |
-
types = st.selectbox("Rice Type:", ["Basmati Pak", "Super Basmati", "Kissan Basmati"], key=1)
|
| 51 |
|
| 52 |
# Function to generate random points around a given location
|
| 53 |
def generate_random_points(lat, lon, num_points, radius=0.01):
|
|
|
|
| 44 |
# Streamlit UI
|
| 45 |
c1, c2 = st.columns(2)
|
| 46 |
with c1:
|
| 47 |
+
locations = st.selectbox("Select Location:", sorted(sites), key="testing 2")
|
| 48 |
|
| 49 |
with c2:
|
| 50 |
+
types = st.selectbox("Rice Type:", ["Basmati Pak", "Super Basmati", "Kissan Basmati"], key="testing 1")
|
| 51 |
|
| 52 |
# Function to generate random points around a given location
|
| 53 |
def generate_random_points(lat, lon, num_points, radius=0.01):
|