Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support selecting Google search results to learn #3

Open
wbleonard opened this issue Nov 21, 2023 · 1 comment
Open

Support selecting Google search results to learn #3

wbleonard opened this issue Nov 21, 2023 · 1 comment

Comments

@wbleonard
Copy link
Contributor

Rather than having to type 'Learn n', allow the user to select results to learn.

@ranfysvalle02
Copy link
Owner

Not sure if streamlit provides a component that would make this easy --

Maybe this? https://pypi.org/project/streamlit-option-menu/

import streamlit as st
from streamlit_option_menu import option_menu

options = ["Option 1", "Option 2", "Option 3"]
selected_option = option_menu("Select an option", options, default_index=0)

st.write("You selected:", selected_option)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants