Created
September 12, 2021 14:08
-
-
Save quickcode00/51bcb920e157fd2d3a3b4566d3ecea82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
st.title('News Summarizer') | |
# Gives option between top stories and search term | |
search_choice = st.sidebar.radio('', options=['Top Headlines', 'Search Term']) | |
# Takes user input for max number of sentences per summary | |
sentences_count = st.sidebar.slider('Max sentences per summary:', min_value=1, | |
max_value=10, | |
value=3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment