INNER CODE UNIT · Python

render_guided_description_builder

mrwadams/stride-gpt · apps/web/main.py:288

def render_guided_description_builder(*, wrap_in_expander=False):
    """Render helper UI to guide users toward high-quality app descriptions.

    Renders directly inside its host container by default (e.g. a tab). Pass
    ``wrap_in_expander=True`` to nest it in a collapsible expander instead.
    """
    container = (
        st.expander("Need help writing your app description?", expanded=False)
        if wrap_in_expander
        else st.container()
    )
    with container:
        st.caption(
            "Answer these prompts, then generate a draft description with the "
            "selected model. It will also suggest extra details worth adding."
        )

        for field in GUIDED_DESCRIPTION_FIELDS:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…