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