Spaces:
Sleeping
Sleeping
Upload youtube.py
Browse files- youtube.py +1 -1
youtube.py
CHANGED
|
@@ -41,7 +41,7 @@ if st.button('Submit', type="secondary"):
|
|
| 41 |
neutrals = sentiment_counts.get("Neutral", 0)
|
| 42 |
negatives = sentiment_counts.get("Negative", 0)
|
| 43 |
st.balloons()
|
| 44 |
-
st.markdown(f"""<p style="color:
|
| 45 |
st.markdown(f"""<p style="color: green;">Positives: {positives}</p>""", unsafe_allow_html=True)
|
| 46 |
st.markdown(f"""<p style="color: gray;">Neutrals: {neutrals}</p>""", unsafe_allow_html=True)
|
| 47 |
st.markdown(f"""<p style="color: red;">Negatives: {negatives}</p>""", unsafe_allow_html=True)
|
|
|
|
| 41 |
neutrals = sentiment_counts.get("Neutral", 0)
|
| 42 |
negatives = sentiment_counts.get("Negative", 0)
|
| 43 |
st.balloons()
|
| 44 |
+
st.markdown(f"""<p style="color: gray;">Total comments: {len(the_data)}</p>""", unsafe_allow_html=True)
|
| 45 |
st.markdown(f"""<p style="color: green;">Positives: {positives}</p>""", unsafe_allow_html=True)
|
| 46 |
st.markdown(f"""<p style="color: gray;">Neutrals: {neutrals}</p>""", unsafe_allow_html=True)
|
| 47 |
st.markdown(f"""<p style="color: red;">Negatives: {negatives}</p>""", unsafe_allow_html=True)
|