Streamlit widgets doesn't display in Jupyter Notebook
You don't run the code from a notebook. You create a python script with your code and then use this command from a shell: streamlit run yourfile.py
the output will show up in the shell

Reason for this is that streamlit runs on the main thread so it would block the jupyter kernal, you won't be able to use the notebook while the streamlit app is running. However, if you really want to stay inside Jupyter to run the app, you can run the command in a cell, like this !streamlit run yourfile.py