Skip to content

Se puede sustituir checkbox por un botón utilizando session_state #6

@Rchatru

Description

@Rchatru

Seguir la misma lógica empleada en el botón Predict:

if st.button('Predict !',key='button_test') or st.session_state.predict_button:
        st.session_state.predict_button = True

Comprobar si todo sigue funcionando correctamente. Especialmente el cache

https://github.com/Rchatru/TEA-WebApp/blob/010314841bed09e50db117c5da7b129ce7334363/pages/3_✅_Predict.py#L141-L142

Metadata

Metadata

Assignees

Labels

effort: 1Relative effort to complete an issue or pull requestpriority: x-dayThe immediacy of attention requiredstate: pendingDecision state of the issue or pull requesttype: choreType of issue or pull requestwork: obviousKind of work involved in resolving the issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions