Spaces:
Runtime error
Runtime error
File size: 637 Bytes
bdbfec0 a72f593 ceac890 a94f73c 4b29661 c689569 fadc8f0 c689569 a94f73c c689569 a94f73c fadc8f0 895d632 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import streamlit as st
from organisations_engagees import display_organisations_engagees
from localisation import display_map
from statistiques import main as display_statistics
# Main function orchestrating the app UI
def main():
st.sidebar.title("Navigation")
app_mode = st.sidebar.radio("Choisissez l'onglet", ["Organisations engagées", "Localisations", "Statistiques"])
if app_mode == "Organisations engagées":
display_organisations_engagees()
elif app_mode == "Localisations":
display_map()
elif app_mode == "Statistiques":
display_statistics()
if __name__ == "__main__":
main()
|