Spaces:
Runtime error
Runtime error
File size: 746 Bytes
8749106 5c7fe8c 8749106 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
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()
|