Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- youtube.py +0 -1
youtube.py
CHANGED
|
@@ -40,7 +40,6 @@ if st.button('Submit', type="secondary"):
|
|
| 40 |
the_comments['text_processed'] = the_comments['comment'].apply(lambda x: text_preprocessing(x))
|
| 41 |
the_comments['text_processed'] = the_comments['text_processed'].apply(lambda x: x if len(x.split()) > 0 else None)
|
| 42 |
the_comments = the_comments.dropna(subset=['text_processed'])
|
| 43 |
-
print(the_comments['text_processed'])
|
| 44 |
st.balloons()
|
| 45 |
st.markdown(f"""<p style="color: green; padding: 0; margin: 0;">Total comments: {len(the_data)}</p>""", unsafe_allow_html=True)
|
| 46 |
for data in the_data:
|
|
|
|
| 40 |
the_comments['text_processed'] = the_comments['comment'].apply(lambda x: text_preprocessing(x))
|
| 41 |
the_comments['text_processed'] = the_comments['text_processed'].apply(lambda x: x if len(x.split()) > 0 else None)
|
| 42 |
the_comments = the_comments.dropna(subset=['text_processed'])
|
|
|
|
| 43 |
st.balloons()
|
| 44 |
st.markdown(f"""<p style="color: green; padding: 0; margin: 0;">Total comments: {len(the_data)}</p>""", unsafe_allow_html=True)
|
| 45 |
for data in the_data:
|