Remove an output from starred/favorites.
(log_index: int)
| 715 | |
| 716 | |
| 717 | def unstar_output(log_index: int): |
| 718 | """Remove an output from starred/favorites.""" |
| 719 | if 0 <= log_index < len(st.session_state.starred_outputs): |
| 720 | st.session_state.starred_outputs.pop(log_index) |
| 721 | # Save outputs after unstarring |
| 722 | save_outputs() |
| 723 | |
| 724 | |
| 725 | def validate_input_content(input_text: str) -> Tuple[bool, str]: |