ArticlePara / app.py
segestic's picture
Update app.py
5c7fe8c
raw
history blame contribute delete
746 Bytes
import streamlit as st
from multiapp import MultiApp
# import your app modules here
from apps import paraphraseApp, summarizeApp
app = MultiApp()
st.markdown("""
# ArticleHelp
ArticleHelp provides two services - Paraphrasing and Summarizing. It utilizes TF-IDF Algorithm for summarization and transformer models for paraphrasing.
## Enter your text and see the magic!
""")
#Hide Made with streamlit
st.markdown(
'''<style>
#MainMenu{visibility: hidden;} footer{visibility: hidden;}
#root>div:nth-child(1)>div>div>div>div>section>div{padding-top: .2rem;
</style>''', unsafe_allow_html=True
)
# Add all your application here
app.add_app("Paraphraser", paraphraseApp.app)
app.add_app("Summarizer", summarizeApp.app)
# The main app
app.run()