def hotspots_in_streamlit(df: pd.DataFrame) -> None:
    """
    Shows hotspots as a part of a streamlit app.

    Parameters:
    df (DataFrame) - Pandas data frame with per-item evaluation scores
    """
    columns = df.columns.tolist()

    selected_column = st.selectbox(
        "Column with the evaluation score", columns, index=None
    )

    lower_is_better = st.checkbox(
        "The-lower-the-better metric (e.g. MAE, RMSE, WER)", value=False
    )

    if selected_column:
        hotspots_config = HotspotsConfig(
            score_column=selected_column,
            higher_is_better=not lower_is_better,
        )

        hotspots_in_streamlit_with_config(hotspots_config, df)

    Shows hotspots as a part of a streamlit app.

    Parameters:
    df (DataFrame) - Pandas data frame with per-item evaluation scores
    
src/hotspots/trulens/hotspots/hotspots_streamlit.py