Spaces:
Runtime error
Runtime error
File size: 532 Bytes
bdbfec0 a72f593 4b29661 fadc8f0 b807d87 6983fe3 a72f593 e95156c 6983fe3 e95156c 6983fe3 fadc8f0 895d632 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import streamlit as st
from organisations_engagees import display_organisations_engagees
from localisation import display_map, get_data
def main():
st.sidebar.title("Navigation")
app_mode = st.sidebar.radio("Choisissez l'onglet", ["Organisations engagées", "Localisation des Entreprises"])
data = get_data()
if app_mode == "Organisations engagées":
display_organisations_engagees(data)
elif app_mode == "Localisation des Entreprises":
display_map(data)
if __name__ == "__main__":
main()
|