| import streamlit as st |
| from tigers import tigers_page |
| from leopard import leopard_page |
| from elephants import elephants_page |
|
|
| |
| st.set_page_config(page_title="Animal Monitoring System", layout="wide") |
|
|
| |
| st.sidebar.title("Forest and Wildlife Framework") |
|
|
| |
| main_selection = st.sidebar.selectbox( |
| "Select System", |
| ["Animal Monitoring System"] |
| ) |
|
|
| |
| if main_selection == "Animal Monitoring System": |
| |
| st.sidebar.title("Animal Monitoring System") |
|
|
| |
| animal_selection = st.sidebar.selectbox( |
| "Go to", |
| ["Tigers", "Leopards", "Elephants"] |
| ) |
|
|
| |
| if animal_selection == "Tigers": |
| tigers_page() |
| elif animal_selection == "Leopards": |
| leopard_page() |
| elif animal_selection == "Elephants": |
| elephants_page() |
|
|
|
|
|
|