Spaces:
Sleeping
Sleeping
Delete Overview.py
Browse files- Overview.py +0 -95
Overview.py
DELETED
|
@@ -1,95 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
import streamlit as st
|
| 3 |
-
from streamlit_lottie import st_lottie
|
| 4 |
-
import requests
|
| 5 |
-
|
| 6 |
-
st.markdown("""
|
| 7 |
-
<style>
|
| 8 |
-
.stApp {
|
| 9 |
-
background-image: linear-gradient(to right, #ece9e6, #ffffff);
|
| 10 |
-
background-size: cover;
|
| 11 |
-
color: #333333;
|
| 12 |
-
font-family: 'Segoe UI', sans-serif;
|
| 13 |
-
}
|
| 14 |
-
h1 {
|
| 15 |
-
text-align: center;
|
| 16 |
-
color: #1a1a1a;
|
| 17 |
-
}
|
| 18 |
-
.stCheckbox > div {
|
| 19 |
-
padding: 5px;
|
| 20 |
-
}
|
| 21 |
-
.css-1cpxqw2 {
|
| 22 |
-
background-color: transparent !important;
|
| 23 |
-
}
|
| 24 |
-
</style>
|
| 25 |
-
""", unsafe_allow_html=True)
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
st.markdown("<h1 style='text-align: center;'>๐ Text Summarization App</h1>", unsafe_allow_html=True)
|
| 29 |
-
|
| 30 |
-
st.markdown("---")
|
| 31 |
-
|
| 32 |
-
st.subheader("๐ About the App")
|
| 33 |
-
st.write("""
|
| 34 |
-
This is a powerful, interactive **Text Summarization App** that lets you convert **long-form content into concise summaries** in just one click โ using state-of-the-art **Transformer models** from Hugging Face ๐ค.
|
| 35 |
-
Built using:
|
| 36 |
-
- ๐ง `transformers` library from Hugging Face for NLP
|
| 37 |
-
- ๐งฐ Streamlit for a fast, intuitive web interface
|
| 38 |
-
- ๐ซ Lottie animations for smooth experience
|
| 39 |
-
""")
|
| 40 |
-
|
| 41 |
-
st.subheader("๐ก What Can You Do?")
|
| 42 |
-
st.write("""
|
| 43 |
-
You can:
|
| 44 |
-
- Paste any **long text** (job description, blog, article, etc.)
|
| 45 |
-
- Choose summarization models:
|
| 46 |
-
- `facebook/bart-large-cnn` (BART)
|
| 47 |
-
- `t5-small` (T5)
|
| 48 |
-
- `google/pegasus-cnn_dailymail` (PEGASUS)
|
| 49 |
-
- Select your preferred output format:
|
| 50 |
-
- ๐ Paragraph
|
| 51 |
-
- ๐น Bullet Points
|
| 52 |
-
- ๐ ๏ธ Custom (via sliders)
|
| 53 |
-
Control the **summary length** with:
|
| 54 |
-
- ๐ Short (40โ150 words)
|
| 55 |
-
- ๐ Medium (up to 300 words)
|
| 56 |
-
- ๐ ๏ธ Custom sliders for `min` and `max`
|
| 57 |
-
""")
|
| 58 |
-
|
| 59 |
-
st.subheader("๐งฎ Smart Features")
|
| 60 |
-
st.write("""
|
| 61 |
-
- Real-time **word count display** (before & after summary)
|
| 62 |
-
- ๐พ Save your summaries with:
|
| 63 |
-
- Timestamp
|
| 64 |
-
- Model used
|
| 65 |
-
- Input text & output summary
|
| 66 |
-
- ๐ View saved **summary history**
|
| 67 |
-
- ๐ฅ One-click download of summary as `.txt` file
|
| 68 |
-
Everything runs locally โ no cloud sync, no data sharing ๐
|
| 69 |
-
""")
|
| 70 |
-
|
| 71 |
-
st.subheader("๐ฏ Why This App?")
|
| 72 |
-
st.write("""
|
| 73 |
-
Because no one wants to read 1000 words when 100 will do ๐
|
| 74 |
-
Whether you're:
|
| 75 |
-
- A student summarizing notes or papers
|
| 76 |
-
- A recruiter simplifying job posts
|
| 77 |
-
- A writer condensing blogs
|
| 78 |
-
- Or just text-fatigued
|
| 79 |
-
This app is for you ๐ช
|
| 80 |
-
""")
|
| 81 |
-
|
| 82 |
-
st.markdown("---")
|
| 83 |
-
|
| 84 |
-
# About Me
|
| 85 |
-
st.subheader("๐โโ๏ธ About Me")
|
| 86 |
-
st.write("""
|
| 87 |
-
Hey, I'm **Mula Vamshi** โ a Python-powered human who builds smart, minimal apps with clean UI and real use cases.
|
| 88 |
-
I work with Data Science, NLP, Automation & app development.
|
| 89 |
-
This summarizer? Just a part of what I love doing!
|
| 90 |
-
**Letโs connect:**
|
| 91 |
-
- ๐ [LinkedIn](https://www.linkedin.com/in/vamshi-mula-946743321)
|
| 92 |
-
- ๐ง [Email Me](mailto:[email protected])
|
| 93 |
-
> ๐ฌ โSimplicity is my power tool. Python is my wand. Streamlit is my canvas.โ
|
| 94 |
-
> โ MULA VAMSHI
|
| 95 |
-
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|