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( """
""", unsafe_allow_html=True, )