File size: 2,017 Bytes
693f905 |
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
import streamlit as st
st.set_page_config(page_title="Stack Overflow Tag Predictor", layout="centered")
st.title("π Stack Overflow Tag Predictor")
with st.expander("π About This App"):
st.markdown("""
Welcome to **TagGPT** β your smart assistant for predicting relevant Stack Overflow tags!
This app helps you get the best tags for your programming questions using a trained machine learning model.
---
### π‘ How It Works:
- π Enter a **question title** and a **detailed description** (code, error, or explanation).
- π§Ή The app **cleans** and processes your text.
- π§ It uses a pre-trained ML model to **predict the most relevant tags**.
- π― Adjust the **confidence threshold** to control how strict the tag suggestions are.
---
### π§ͺ What's Under the Hood:
- β
TF-IDF for text representation
- β
Multilabel classification using `OneVsRest` with a powerful classifier
- β
Trained on real Stack Overflow questions
---
### π Try it out!
Just fill in the fields below and hit **π Predict Tags** to see the magic β¨
""")
st.markdown(
"""
<div style="margin-top: 40px; text-align: center;">
<h4 style="color: #6A11CB;">π©βπ» About the Creator</h4>
<p style="color: #555; font-size: 16px;">
<strong>Harika Padyala</strong><br>
Passionate AI Developer & Data Enthusiast<br>
Building smart, accessible AI apps for everyone! π
</p>
<div style="margin-top: 15px;">
<a href="https://github.com/Harika22-08?tab=repositories" target="_blank">
<img src="https://img.shields.io/badge/GitHub-000000?style=for-the-badge&logo=github&logoColor=white">
</a>
<a href="https://www.linkedin.com/in/harika-padyala-67a882305/" target="_blank">
<img src="https://img.shields.io/badge/LinkedIn-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white">
</a>
</div>
</div>
""",
unsafe_allow_html=True,
)
|