File size: 456 Bytes
19181ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import streamlit as st
from Article_summarizer import article_sum
from News_scrapper import News_scrapper


# Main function for the app
def main():
    st.sidebar.title("Navigation")
    selection = st.sidebar.radio("Choose Utility", ["Article Summarizer", "News Scrapper"])

    if selection == "Article Summarizer":
        article_sum()
    elif selection == "News Scrapper":
        News_scrapper()


# Run the app
if __name__ == "__main__":
    main()