Esempio n. 1
0
def main(embed=False, disease=covid19):
    if not embed:
        ui.css(keep_menu=True)

    if not embed:
        ui.logo(where=st.sidebar)

    st.title(_("Projections for COVID-19 evolution in Brazil"))
    inputs = collect_inputs(where=st if embed else st.sidebar)
    show_results(disease=disease, **inputs)
Esempio n. 2
0
def main(embed=False, disease=covid19):
    """
    Main function for application.
    """

    if not embed:
        ui.css()

    if not embed:
        ui.logo(where=st.sidebar)

    st.title(_("Scenarios for COVID-19 evolution in Brazil"))
    inputs = sidebar(where=st if embed else st.sidebar)
    show_results(disease=disease, **inputs)