def panel_launch()

in afa/app/app.py [0:0]


def panel_launch():
    """
    """

    def _format_func(short):
        if short == "local":
            s = " Local"
        if short == "lambdamap":
            s = "AWS Lambda"
        return s

    df = state.report["data"].get("df", None)
    df_health = state.report["data"].get("df_health", None)
    horiz = state.report["afa"].get("horiz", None)
    freq = state.report["afa"].get("freq", None)

    if df is None or df_health is None:
        return

    st.header("Statistical Forecasts")

    with st.beta_expander("🚀 Launch", expanded=True):
        st.write(f"""Step 3 – Generate forecasts by training and evaluating 75+