Support selecting Google search results to learn
Opened this issue · 1 comments
wbleonard commented
Rather than having to type 'Learn n', allow the user to select results to learn.
ranfysvalle02 commented
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)