Spaces:
Runtime error
Runtime error
removed add field information option
Browse files- pag/edit.py +2 -1
pag/edit.py
CHANGED
|
@@ -73,7 +73,8 @@ def edit_fields(current_user):
|
|
| 73 |
folium.LayerControl().add_to(fields_map)
|
| 74 |
folium_static(fields_map, height=300, width=400)
|
| 75 |
st.subheader(f":green[{field_name}]")
|
| 76 |
-
option_menu = st.radio(f"Please add your {field_name} field information, historical data will help train our AI model", options=["View Field Info", "Add Field Information","Add Field Cultivation History", "Delete"], key="option_menu", help="Select the operation to perform")
|
|
|
|
| 77 |
if option_menu == "View Field Info":
|
| 78 |
field = gdf[gdf['name'] == field_name]
|
| 79 |
st.write(field)
|
|
|
|
| 73 |
folium.LayerControl().add_to(fields_map)
|
| 74 |
folium_static(fields_map, height=300, width=400)
|
| 75 |
st.subheader(f":green[{field_name}]")
|
| 76 |
+
# option_menu = st.radio(f"Please add your {field_name} field information, historical data will help train our AI model", options=["View Field Info", "Add Field Information","Add Field Cultivation History", "Delete"], key="option_menu", help="Select the operation to perform")
|
| 77 |
+
option_menu = st.radio(f"Please add your {field_name} field information, historical data will help refine our AI model recommendations", options=["View Field Info","Add Field Cultivation History", "Delete"], key="option_menu", help="Select the operation to perform")
|
| 78 |
if option_menu == "View Field Info":
|
| 79 |
field = gdf[gdf['name'] == field_name]
|
| 80 |
st.write(field)
|