Spaces:
Sleeping
Sleeping
Update pages/3_Deployment.py
Browse files- pages/3_Deployment.py +6 -6
pages/3_Deployment.py
CHANGED
|
@@ -10,12 +10,12 @@ with open("text_classification.pkl", "rb") as f:
|
|
| 10 |
pipeline = pickle.load(f)
|
| 11 |
|
| 12 |
# Helpful context for users
|
| 13 |
-
st.
|
| 14 |
-
st.markdown("""
|
| 15 |
-
- π **Positive**: heartwarming reunion, kindness stories, feel-good moments
|
| 16 |
-
- π **Negative**: bad customer experience, airline disaster, controversial incident
|
| 17 |
-
- π **Neutral**: tech reviews, travel vlogs, gaming walkthroughs
|
| 18 |
-
""")
|
| 19 |
|
| 20 |
# User input
|
| 21 |
user_input = st.text_area("##### **Enter a YouTube comment to analyze:**",
|
|
|
|
| 10 |
pipeline = pickle.load(f)
|
| 11 |
|
| 12 |
# Helpful context for users
|
| 13 |
+
with st.expander("#### π **Click here to see what topics this model was trained on**"):
|
| 14 |
+
st.markdown("""
|
| 15 |
+
- π **Positive**: heartwarming reunion, kindness stories, feel-good moments
|
| 16 |
+
- π **Negative**: bad customer experience, airline disaster, controversial incident
|
| 17 |
+
- π **Neutral**: tech reviews, travel vlogs, gaming walkthroughs
|
| 18 |
+
""")
|
| 19 |
|
| 20 |
# User input
|
| 21 |
user_input = st.text_area("##### **Enter a YouTube comment to analyze:**",
|